SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Using rdiff-backup for syncing files from a test server to a
Author Message
Post Using rdiff-backup for syncing files from a test server to a 
I would like to be able to make modifications to server config files
on my test server, and then be able to send them to the production
server using rdiff-backup. I only want to copy over a few files
explicitly, for example when I create a new init script, I would add
it to my list of "includes".

The trouble I am having is in trying to figure out how to initialize
this setup. It seems that if I use '--force' for the initial
rdiff-backup, that it clobbers all the files on the production server.
I hope it's clear what I'm trying to do, and thanks for any clues.

Brandon


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post Using rdiff-backup for syncing files from a test server to a 
On Fri, 18 Dec 2009 11:12:56 -0500, Brandon Simmons <brandon.m.simmons < at > gmail.com> wrote:
I would like to be able to make modifications to server config files
on my test server, and then be able to send them to the production
server using rdiff-backup. I only want to copy over a few files
explicitly, for example when I create a new init script, I would add
it to my list of "includes".

The trouble I am having is in trying to figure out how to initialize
this setup. It seems that if I use '--force' for the initial
rdiff-backup, that it clobbers all the files on the production server.
I hope it's clear what I'm trying to do, and thanks for any clues.

That sounds like a job for rsync, not rdiff-backup.

--
R. David Murray www.bitdance.com
Business Process Automation - Network/Server Management - Routers/Firewalls


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post Using rdiff-backup for syncing files from a test server to a 
On Fri, 18 Dec 2009 12:31:33 -0500, Brandon Simmons <brandon.m.simmons < at > gmail.com> wrote:
I wanted to use rdiff-backup so that I could easily roll back changes
on the production server if the modifications weren't working
correctly. But now that I think about it, I can see how if the
production server is the "backup" copy with the incremental snapshots,
that won't allow me to do that anyway.

Any other ideas on a system that will allow me to roll back changes?

1) Put your source config files under a version control system.

2) Use rdiff-backup to create a backup somewhere (but not in the
production directories) so you can restore from there at need.

3) Use one of the configuration management systems[1] to push your configs
out to the production servers and provide for rollbacks.

[1] http://en.wikipedia.org/wiki/Comparison_of_open_source_configuration_management_software

--
R. David Murray www.bitdance.com
Business Process Automation - Network/Server Management - Routers/Firewalls


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post Using rdiff-backup for syncing files from a test server to a 
On Friday 18 December 2009 18:31:33 Brandon Simmons wrote:
Any other ideas on a system that will allow me to roll back changes?

Sounds like you are looking for a version control system. Starting from
scratch today I think you should take a look at Bazaar, Git or Mercurial.

// Andreas

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post Using rdiff-backup for syncing files from a test server to a 
Hello,

I would like to be able to make modifications to server config files
on my test server, and then be able to send them to the production
server using rdiff-backup. I only want to copy over a few files
explicitly, for example when I create a new init script, I would add
it to my list of "includes".

The trouble I am having is in trying to figure out how to initialize
this setup. It seems that if I use '--force' for the initial
rdiff-backup, that it clobbers all the files on the production server.
I hope it's clear what I'm trying to do, and thanks for any clues.

Brandon


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

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