Current time: 05-08-2024, 10:57 AM Hello There, Guest! (LoginRegister)


Post Reply 
Server Backup Strategies Imaging & tarballs
Author Message
ShinZan Offline
Junior Member
*

Posts: 43
Joined: Aug 2008
Reputation: 0
Post: #4
RE: Server Backup Strategies Imaging & tarballs
(03-09-2012 03:06 AM)joximu Wrote:  There are a lot of possibilities - the right solution tightly depends on your possibilities + knowhow.

dd -> to make a 1:1 copy of a disk or partition
tar -> originally for tape archive but also good to make backups
rsync -> the power tool for making backups and archives (eg. rsnapshot)

but for rsync (and tar) you need to be sure which folders you need to safe/sync.
E.g. normally /usr is not needed to be backupped. /var/log depends on you...
etc etc... you have to decide.

A not bad start may be /etc, /var and maybe /root - if you also have a list of installed packages, then with theese infos it's not to difficult to setup a new machine with the same config+data.

But /var/lib/mysql: you better make db dumps, otherwise you would need to stop the DB while syncing or saving theese files....

/J

Thanks Joximu and to clarify If i backup /etc /var /log (optional) and /root and then reinstall ubuntu on a new machine and put back these 3 directories i will have a restored machine?

David
03-13-2012 03:57 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Server Backup Strategies Imaging & tarballs - ShinZan - 03-13-2012 03:57 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)