You are not logged in.
I need to create a backup of my /home/user directory and important files like xorg.conf rc.conf & /boot/grub/menu.lst ?
I would like to put it all into a tar file so I can keep the system on windows with out messing up the files.
Any suggestions?
Offline
You can just use "tar" itself. /etc is so small that it's easy enough just to put the whole thing inside.
Offline
You should probably compress the archive as well.
tar cvvjf backup.tar.bz2 files_to_backup
Then go get yourself a cup of coffee, because it will probably take a while.
Happy Hacking!
Twitter: http://twitter.com/bobbyrburden/
Website: http://codebutcher.com/
Offline
Here's mine:
tar zcvfp arch-system.gz /etc /boot /root
tar zcvfp user1.tar.gz /home/user1
tar zcvfp user2.tar.gz /home/user2
tar zcvfp var.tar.gz /var --exclude "/var/cache/pacman/pkg"
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I normally backup to my desktop (from my laptop).
tar cvvjf - * | ssh valnour@evasion0 "cat > /home/valnour/backup.tar.bz2"
That's the kind of command I like to show my Windows friends, to show them the power of the *nix command line. They can't do offsite, compressed backups over an encrypted tunnel like that. No sir.
Happy Hacking!
Twitter: http://twitter.com/bobbyrburden/
Website: http://codebutcher.com/
Offline
I just did this and took notes so it might be your lucky day because I created a wiki page for it:
Last edited by Gen2ly (2009-10-30 14:39:18)
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
I just did this and took notes so it might be your lucky day because I created a wiki page for it:
Terrific job.
I would suggest changing the name to "System Restore from Configuration".
Offline
I've been using duplicity.
Offline
I use a few small bash scripts that are on my fileserver, which runs gentoo. They use rsync to pull the files from different machines then tar the files and move the tar to an archive directory specific to each machine.
Hardware is like a parachute.... works best when open.
Offline
Gen2ly wrote:I just did this and took notes so it might be your lucky day because I created a wiki page for it:
Terrific job.
I would suggest changing the name to "System Restore from Configuration".
Thank you.
Done.
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline