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

Feature request : External Backup Utils #96

Open
Blue-Beaker opened this issue Oct 26, 2024 · 1 comment
Open

Feature request : External Backup Utils #96

Blue-Beaker opened this issue Oct 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Blue-Beaker
Copy link

Blue-Beaker commented Oct 26, 2024

Is your feature request related to a problem? Please describe.
I want to use btrfs reflinks/snapshots to take backups and save disk space further, and want it to only make backups after the world is completely saved.

Describe the solution you'd like
Add a custom backup type that executes custom command, with world folder and backup destination folder exported as environment variables, to use a external program to make backups.
So user can use a command like cp --reflink=always $WORLD_DIR $BACKUP_DEST to make reflink backups with this mod.

Describe alternatives you've considered
Use cron to run backup jobs, but may create a broken backup when the world is partially saved

Additional context
No need to implement restoration for custom backups. The backups isn't managed by the mod.

@Blue-Beaker Blue-Beaker added the enhancement New feature or request label Oct 26, 2024
@HoldYourWaffle
Copy link
Contributor

@HeatherComputer smells like another potential application of SPI's... 👀

For reference: SimpleBackups rejected shell functionality because of security concerns, see ChaoticTrials/SimpleBackups#25 (comment).

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

No branches or pull requests

2 participants