acquia / acsf-tools

Command line tools for working with Acquia Cloud Site Factory
20 stars 25 forks source link

Commands to backup and restore public/private files #166

Open vbouchet31 opened 1 year ago

vbouchet31 commented 1 year ago

It would be great to have some acsf-tools-files-dump and acsf-tools-files-restore commands with some options like --scheme=private,public and similar options than acsf-tools-dump / acsf-tools-restore.

This would create some site1.tar.gz site2.tar.gz where site1/site2 are the site ids on ACSF (same mechanism as acsf-tools-dump).

vbouchet31 commented 1 year ago

Instead of custom mechanism, drush comes with a concept of archive (https://www.drush.org/12.x/commands/archive_dump/), we may build the command on top of this one. This command can take database dump and code dump as well. As a first step, we should probably restrict the option to only take files dump via the wrapper command.