[CentOS] Beginner - need suggestion to improve BACKUP script
kira.laucas at gmail.com
Sat Dec 27 14:53:13 UTC 2008
jkinz at kinz.org wrote:
> On Sat, Dec 27, 2008 at 12:44:21PM +0530, partha chowdhury wrote:
>> 2>i stop the named service before starting backup as i run the named
>> process in a chroooted environment and if i trey to manually backup
>> /var with rsync i get :/var/named/chroot/proc/kcore: <file> has vanished !
> Always exclude /var/named/chroot/proc/ from your backups. backing
> it up isn't needed. See:
> Jeff Kinz
Thank you for the suggestion !
so now i backup /var/ with the follwing command:
> rsync -a --progress --delete --delete-excluded --exclude-from=/root/exclude-pattern /var/ ~freedom/backup/var/
it seems fine as no error message is generated but is there any more
efficient alternative ?
More information about the CentOS