You are not logged in.
Pages: 1
Whats a good way to back things up? I want to cp certain files to another computer so that incase I screw something up I can recover quickly. While I'm at it I'd like to backup mail and other things too. Is that something I'd use cron for? Sounds like that's what rsync does to.
Don't need any indepth respond, just general direction.
Thanks
Offline
I use tar to manually back things up. I don't have alot of super important data that requires consistent automation..
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Someone recommended hdup somewhere.
Offline
Offline
I use a application called flexbackup to go regular backups (with a cronjob) on some important things on a server of mine.
You can find it http://www.edwinh.org/flexbackup/ <--- there.
I used http://gentoo-wiki.com/HOWTO_Backup <--- that guide to set everything up - but the conf is pretty well documented.
Good luck!
To err is human... to really foul up requires the root password.
Offline
We are using a relatively new backup utility called boxbackup (http://www.fluffy.co.uk/boxbackup/). We've been using it for a while now and really like it.
I have a package build for it at work if your interested. I can post it here, just let me know....
Chris....
Offline
I would use good ol' tar.
Don't forget to tar your /etc, that's the most important.
And if disk space is not a problem, you could even tar up your whole system (you could use gzip, it's faster yet bigger)
tar -cvjpf /mnt/whatever/whatever.tar.bz2 / --exclude=/mnt/* --exclude=/var/run/* --exclude=/var/cache/* --exclude=/sys/* --exclude=/proc/* --exclude=whatever.tar.bz2
To recover your backup, dont forget to set up grub and to have enough space on your partitions. You will have to edit your fstab if you changed you disk layout.
You could also try to use dd if you want to save your partitions in a ghost-like manner
dd if=/dev/hda1 of=disk.img | gzip
or something like that
Offline
I made myself a bash script that copies set folders to my external drive every night at 9pm - why then? cause my computer is always on
#! /bin/bash
backupdir=`grep -c backup /etc/mtab`
if [ $backupdir==1 ]; then
echo `date +%d/%m/%Y - %k:%M` : Starting backup >> /home/iphitus/.backup/log
backupdate=/mnt/backup/`date +%d.%m.%Y`
mkdir $backupdate
for directory in `cat /home/iphitus/.backup/dirs`
do
echo `date +%d/%m/%Y - %k:%M` : Copying Directory: $directory >> /home/iphitus/.backup/log
cp -a $directory $backupdate
echo `date +%d/%m/%Y - %k:%M` : $directory Complete. >> /home/iphitus/.backup/log
done
echo `date +%d/%m/%Y - %k:%M` : Backup Complete >> /home/iphitus/.backup/log
rm -r /mnt/backup/backup
mkdir /mnt/backup/backup
cp /home/iphitus/.backup/* /mnt/backup/backup/
fi
if [ $backupdir==0 ]; then
echo `date +%d/%m/%Y - %k:%M` : Backup failed: Partition Not mounted. >> /home/iphitus/.backup/log
fi
config file:
/home/iphitus/Documents/Documents/
/home/iphitus/pycast
/home/iphitus/Graphics
/home/iphitus/serverb
How it works?
checks if partition is mounted, then copies the stuff listed in the config file ~/.backup/dirs to the set place. yeah i know it sucks, but it works and maybe it'll work for whoever else uses it.
Offline
We are using a relatively new backup utility called boxbackup (http://www.fluffy.co.uk/boxbackup/). We've been using it for a while now and really like it.
I have a package build for it at work if your interested. I can post it here, just let me know....
Chris....
Boxbackup submitted to AUR.
Server:
http://aur.archlinux.org/packages.php?d … SB=n&PP=25
Client:
Offline
Pages: 1