 |
Linode.com Forum Linode Community Forums
|
| Author |
Message |
cattani
Joined: 01 Jan 2008
Posts: 15
|
| Posted: Sun May 04, 2008 5:52 am Post subject: How to make an easy full system backup? |
|
|
hy!
some time a go i made a dd image of my fedora 8 linode partition and downloaded it to my desktop pc. besides that the image was huge it didnt contain partition data and i was unable to mount it. because i only have ntfs partitions on my desktop i couldn repair it with knoppix...
so now i think of just copying important dirs onto my desktop on a regular basis using scp.
which directories are not senseful to backup, because they dont contain any user-application related settings or directories (/mnt, /dev) ?
my goal is to have a backup that i can restore after a new install of fedora and everything is up and running again. after my last failure, when i accidentaly deleted /bin i could recover by copying the bin dir from another fedora partition..
thx! |
|
| Back to top |
|
kwilson
Joined: 02 Feb 2008
Posts: 7
Location: San Francisco, California
|
| Posted: Sun May 04, 2008 10:23 am Post subject: |
|
|
I typically back up three directories every night, via rsync:
* /etc
* /home
* /usr/local
I've got a nightly cron job that dumps and gzips MySQL databases into a directory under /home, so I get those as well, and also generates a list of packages installed via the package manager so I've always got an up-to-date list along with my backup.
If I ever need to restore a system, I can start with the base OS, add the packages from the list, and then copy the data and configurations over, and I'll back up and running. |
|
| Back to top |
|
anderiv
Joined: 27 Apr 2004
Posts: 127
|
| Posted: Sun May 04, 2008 11:42 am Post subject: |
|
|
Do you have another linux PC somewhere from which you can perform backups? If so, check out either rsnapshot or rdiff-backup. Either of those will let you do incremental backups of your data over ssh. They're both really easy to set up, and they can provide whatever level of backup granularity you want, down to hourly backups if you desire. I've been using rsnapshot for about 4 years on my linode, and it's worked great.
Another option is outlined in this post. It involves using duplicity on your linode to generate encrypted backup files and then sending them off to Amazon's S3 for storage. I'm in the midst of switching over to this backup method right now actually.
Hope that helps... |
|
| Back to top |
|
cattani
Joined: 01 Jan 2008
Posts: 15
|
| Posted: Sun May 04, 2008 12:59 pm Post subject: |
|
|
| thanks! |
|
| Back to top |
|
| |
|