On 02/05/16 22:17, Steve Schow wrote:
> I wish to include my fossil repos in backup to cloud backup service.
> 
> what is the best approach for doing this?  if a fossil operation is in the 
> middle of trying to do something when the automated cloud backup daemon 
> decides to backup the repo file, I am presuming the backed up file could be 
> in an inconsistent….non-atomic state.
> 
> Would it be preferable to do a sqlite dump or something of this nature and 
> back that up to cloud service?

   This is what I have done; not exactly what you're asking, but it can
be used to accomplish the same thing.

   I have set up a json interface which can be used to get a list of
repositories on our main development server.  A script on another system
will use this interface to clone any repository which hasn't been cloned
already, and pull changes from all the already cloned repositories.
Once this has been done all the cloned/pulled repositories are backed up.

   This has the added benefit that I don't need to store credentials for
logging in to the backup server on the main development system.

-- 
Kind Regards,
Jan
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to