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

.gitignore backups and restore backups from separate directory? #7

Open
nickautomatic opened this issue Sep 2, 2015 · 1 comment
Open

Comments

@nickautomatic
Copy link
Contributor

Two problem with having backups in Git:

  1. Potential clashes with untracked files when pulling in on production server after downloading backup
  2. Repo size inflation

1 is a more serious problem. Occurred to me that if the db restore script didn't use Craft's own "backups" directory then it could be gitignored (and potentially backups could be stored as zips rather than raw SQL? In which case .sql files could be ignored and the script could restore the latest zip)

@chrisdubya
Copy link

Agreed, craft says you should ignore as well here.

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

2 participants