acsf-tools icon indicating copy to clipboard operation
acsf-tools copied to clipboard

Commands to backup and restore public/private files

Open vbouchet31 opened this issue 1 year ago • 1 comments

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 avatar Jul 20 '23 08:07 vbouchet31

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.

vbouchet31 avatar Aug 29 '23 12:08 vbouchet31