SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Using One base image for initial backup
Author Message
Post Using One base image for initial backup 
We have 20 servers that were all created from a base image.  70% of the data on each of the 20 servers are identical from server to server.  Is it possible to base the initial backup on one base image, so I don't have 20 copies of the same data on each host, to save space?


Warning: this e-mail may contain information proprietary to Raley's and is intended only for the use of the intended recipient(s). If the read of this message is not an intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately.

Post Using One base image for initial backup 
On Wed, Mar 30, 2011 at 1:38 PM, Scott Wright <swright < at > raleys.com> wrote:
We have 20 servers that were all created from a base image.  70% of the data
on each of the 20 servers are identical from server to server.  Is it
possible to base the initial backup on one base image, so I don't have 20
copies of the same data on each host, to save space?

*SURE*. Just replicate that base image to your first snapshot with the
command 'cp -al', or install and use the 'hardlink' command. You will
still need inodes available for each file in each directory, and you
can eventually run out of those even with well merged snapshots. But
it's a handy tool to run now and then for similar OS's.

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post Using One base image for initial backup 
On Wed, Mar 30, 2011 at 10:38 AM, Scott Wright <swright < at > raleys.com> wrote:
We have 20 servers that were all created from a base image.  70% of the data
on each of the 20 servers are identical from server to server.  Is it
possible to base the initial backup on one base image, so I don't have 20
copies of the same data on each host, to save space?

Sure. Before starting your backups, I would probably setup a "fake"
hourly.0, and populate it with sub-directories for each host, using cp
-al from the base image. Then you could either keep that backup (as a
record of where things started), or delete it after the first real
hourly run.

Another easy way to do it would be to backup only one of the hosts,
then capture the rsync command-line from the log file. Then run rsync
manually for each of the other hosts, using --link-dest to let rsync
hardlink with files from the first host's backup.

BTW, it's probably best to practice with a smaller system first,
though, to make sure you're putting all the files in the right places,
and that everything works as you expect it to. Otherwise you've
potentially done a lot of work which the first backup pass will nuke.
Maybe you could backup only /etc from each host as a test.

-scott

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post Using One base image for initial backup 
Hallo, Scott,

Du meintest am 30.03.11:

We have 20 servers that were all created from a base image. 70% of
the data on each of the 20 servers are identical from server to
server. Is it possible to base the initial backup on one base image,
so I don't have 20 copies of the same data on each host, to save
space?

For such problems I use "hardlink" from Dag Wieers,

<http://helmut.hullen.de/filebox/Linux/slackware/ap/hardlink-1.2-i486-1hln.tgz>

hardlink server1/weekly.0 server2/weekly.0 server3/weekly.0

(called from the appropriate directory) should hardlink across the
separate backups.

As long as "hardlink" runs "rsnapshot" must not change these
directories.

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB