On 12/4/2013 8:02 AM, Mark H. Wood wrote: > On Tue, Dec 03, 2013 at 03:45:31PM -0600, Martin Courtois wrote: >> I'd be interested to hear from current DuraCloud users on how you're >> scheduling backups. Are you using the Automatic Sync Changes feature to >> backup changes as they happen, or are you running an entire backup on a >> regular basis? Maybe a combination of the two? > > We're doing daily differential backups: a cron job exports AIPs for > any objects that have changed since the last successful backup, and > then sync.s those up to DuraCloud in a single pass. The script writes > a timestamp file if nothing went wrong, and uses it (plus a little > overlap added) as the starting point for the next run.
A slight tangent here, for folks who may not be aware of it. The "Replication Task Suite" is a great route towards scheduling these automatic "incremental" AIP backups via cron (on whatever schedule you feel necessary). The Replication Task Suite can be used with DuraCloud or just with a normal onsite backup (e.g. backup to a mounted drive, or similar). The Replication Task Suite is still a separate addon, but we've tried to make it simple to install into an existing DSpace: https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite Once installed, you can use the functionality to "Automatically Sync Changes (via a Queue)". This automated sync can be processed on whatever schedule you want -- and it does exactly what Mark describes above. Any changes that occur in DSpace are written to the "sync queue". Then when you next process the queue (via cron), those AIPs will be regenerated and resynced with your backup location. https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite#ReplicationTaskSuite-AutomaticallySyncChanges%28viaQueue%29 There's even an example cron command to process the queue in the documentation above -- see the section on "Processing the Sync Consumer Queue. So, this doesn't answer the question of how frequently you should perform these AIP backups, but rather a recommended route to do so (whether you are using DuraCloud or not). - Tim ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Dspace-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-general
