sandstorm icon indicating copy to clipboard operation
sandstorm copied to clipboard

Automatic Grain Backups

Open jdougan opened this issue 2 years ago • 1 comments

Can backup be used standalone, outside the sandstorm environment so I could write a script to automatically generate grain backups? Or for that matter, stop sandstorm and do necessary prep work and run zip myself and get a compatible grain backup file?

jdougan avatar Dec 05 '22 05:12 jdougan

I use a script to stop Sandstorm, tar the entire Sandstorm directory, and then start Sandstorm.

The main issue you'll have trying to create the zip files themselves from file system access is creating the metadata file which I presume is generated from the database. Something outside the Sandstorm environment would need to probably query the Sandstorm database for the correct information to put in that file.

ocdtrekkie avatar Dec 05 '22 08:12 ocdtrekkie