[ale] Online Backup

Yu, Jerry Jerry.Yu at Voicecom.com
Wed Jan 12 11:57:27 EST 2005


I do this type of backups for all my linux servers and all full/partial
recoveries/replications have been succesful these many years. Also, I
normally gzip/gpg them before piping to the backup server, to reduce network
load and to reduce backup media usage.

As for exclusion, I use a file to list files/directories. "-X
list2exclude.txt" at the end of the tar command.

Note that the wildcard thingy for /proc. Tar will exclude everything under
/proc/ and still covers the mount point of /proc itself.
---cut---list2exclude.txt----cut--
./proc/*
./usr/share/doc
./usr/share/man
./usr/share/info/*.*
./dev/log
./you/got/the/idea
---cut---list2exclude.txt----cut--



# -----Original Message-----
# From: ale-bounces at ale.org [mailto:ale-bounces at ale.org]On Behalf Of
# Geoffrey
# Sent: Wednesday, January 12, 2005 11:40 AM
# To: Atlanta Linux Enthusiasts
# Subject: Re: [ale] Online Backup
# 
# 
# Nick Travis wrote:
# > Is there a way to create a full system backup, simular to a ghost
# > image, of a linux server remotely without taking the server 
# offline? 
# > Could you do something like "tar -cf my-system.tar * "?  Or 
# would this
# > fail due to files changing as the tar was being created.  
# Could rsync
# > be used, I was thinking it would have to same problem of files
# > changing though while it was syncing.  It's a pretty basic 
# system, no
# > databases or anything, just dhcp named and a firewall.
# 
# You could do this, but be a bit more selective.  For example, 
# you don't 
# want to pick up everything in /proc, the tar file will grow 
# without end. 
#   As for /proc, I've found you're good if you simply pick up the 
# directories there.
# 
# You could be even more selective and reduce the size of the backup. 
# There's plenty of stuff out there you don't generally need to backup 
# like the system binaries.
# 
# -- 
# Until later, Geoffrey
# _______________________________________________
# Ale mailing list
# Ale at ale.org
# http://www.ale.org/mailman/listinfo/ale
# 

This email and any attached files herein contain information that is intended only for the use of the individual or entity to whom it is addressed and may contain information that is legally privileged, confidential or otherwise exempt from disclosure under applicable laws. If the reader of this message is not the recipient, any disclosure, dissemination, distribution, copying or other use or retention of this communication or its substance is prohibited.




More information about the Ale mailing list