Backup the whole AMAHI Server -> which folder and files ?

Frankster
Posts: 12
Joined: Fri Jul 22, 2011 10:48 am

Backup the whole AMAHI Server -> which folder and files ?

Postby Frankster » Fri Aug 12, 2011 12:03 pm

Hi!

I am a total newbie about linux and so I have a lot to learn.

I want to backup my whole system

I am using rsync to backup the server

Code: Select all

rsync -av --delete --progress --exclude=/mnt/usb/ / /mnt/usb/hda/
And than rsync starts to backup /proc/kcore, and this file has 128TB :shock:

Thanks
Frankster

ghstryder
Posts: 65
Joined: Mon Jun 14, 2010 3:14 am

Re: Backup the whole AMAHI Server -> which folder and files

Postby ghstryder » Fri Aug 12, 2011 6:50 pm

Exclude it. It is a virtual file. If my understanding is correct, 128T would represent the theoretical maximum memory for Fedora.

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: Backup the whole AMAHI Server -> which folder and files

Postby radioz » Fri Aug 12, 2011 7:42 pm

There are a lot of different strategies you can use for backup.
Mine is that if the system fails, its easy to re-install the OS but my data is critical.
My system is setup to just backup /var/hda/files.

If you plan to backup the entire system with rsync, I think you want to exclude a bit more than that.
Just a few ideas for directories to be excluded (hopefully others will chime in too):
/mnt
/media
/proc
/var/logs

...others...?

Frankster
Posts: 12
Joined: Fri Jul 22, 2011 10:48 am

Re: Backup the whole AMAHI Server -> which folder and files

Postby Frankster » Mon Aug 15, 2011 12:39 pm

Hi!

At the moment i only backuped only the "var" directory

Thanks
Frankster

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: Backup the whole AMAHI Server -> which folder and files

Postby radioz » Mon Aug 15, 2011 1:41 pm

If you find that your backup files are getting large, you might want to consider excluding /var/logs.

That directory contains a lot of (potentially large) log files that would be of no use if you are trying to recover your system.

/mnt and /media SHOULD be excluded because they may be links to large mounted file systems.

Who is online

Users browsing this forum: No registered users and 48 guests