sandstorm
sandstorm copied to clipboard
Automatic Grain Backups
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?
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.