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

Backups should be centralized and handled easily and securely #4

Open
elamperti opened this issue Jul 14, 2016 · 1 comment
Open

Backups should be centralized and handled easily and securely #4

elamperti opened this issue Jul 14, 2016 · 1 comment

Comments

@elamperti
Copy link
Owner

A backup function should be available across all the scripts so files can be backed up without adding logic related to backups around each call to said function.
Desirable things:

  • Verify if the file to backup exists
  • Copy it to the backup folder and check it was copied successfully
  • Only create a backup if the file will be replaced by another file or if it is different from the file that will overwrite it

Ideally all the backed up files will be put together in a tarball before exiting the setup process.

@elamperti
Copy link
Owner Author

This one is still valid and would be very helpful. I've already lost files because the backups made by the setup script were broken 😕

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

No branches or pull requests

1 participant