Restore Assets
samuelbirch opened this issue · 3 comments
samuelbirch commented
as well as restore_db.sh, a restore_assets.sh option would be useful too.
ademers commented
And also restore_dirs.sh
. Would this make sense?
khalwat commented
It might make sense... you'd want it to restore them from the default backup directories?
khalwat commented
Thanks for the PR @samuelbirch -- I ended up rolling it into the 1.2.6 release:
https://github.com/nystudio107/craft-scripts/releases/tag/1.2.6
I removed the sync_*
scripts, though, and added a note to the README.md
that both pull_db.sh
and pull_assets.sh
are designed to work fine even when the local and remote are on the same server.
I did it this way to keep things simple. No matter where the thing is, the pulls will work. One codepath, so less error-prone as well.