Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic Grain Backups #3675

Open
jdougan opened this issue Dec 5, 2022 · 1 comment
Open

Automatic Grain Backups #3675

jdougan opened this issue Dec 5, 2022 · 1 comment

Comments

@jdougan
Copy link
Contributor

jdougan commented Dec 5, 2022

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?

@ocdtrekkie
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants