You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, using psite-dl-backup, the destination parameter only works when specifying a directory. You cannot specify an output filename. This means that every time you download the backup, it will have a new name (unpredictable). > drush psite-dl-backup $SITE_NAME dev latest database ./destination
If the command returned/output the filename of the file downloaded, that'd be a good start.
Suggested fix: if destination parameter is a file name (includes a ".") the file should be saved with that name. Or perhaps you can add a flag, for marking something as a file. > drush psite-dl-backup $SITE_NAME dev latest database ./my-backup.sql
OR, if no destination param, output the file using stdout for more control > drush psite-dl-backup $SITE_NAME dev latest database > ./my-backup.sql
The text was updated successfully, but these errors were encountered:
Currently, using
psite-dl-backup
, thedestination
parameter only works when specifying a directory. You cannot specify an output filename. This means that every time you download the backup, it will have a new name (unpredictable).> drush psite-dl-backup $SITE_NAME dev latest database ./destination
If the command returned/output the filename of the file downloaded, that'd be a good start.
Suggested fix: if destination parameter is a file name (includes a ".") the file should be saved with that name. Or perhaps you can add a flag, for marking something as a file.
> drush psite-dl-backup $SITE_NAME dev latest database ./my-backup.sql
OR, if no destination param, output the file using stdout for more control
> drush psite-dl-backup $SITE_NAME dev latest database > ./my-backup.sql
The text was updated successfully, but these errors were encountered: