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
Describe the bug
partdb:backup option --overwrite should allow overwriting destination output file, even if it exists. Instead, backup fails.
To Reproduce
Steps to reproduce the behavior:
Run initial backup with /usr/bin/docker exec --user=www-data partdb php bin/console partdb:backup --full /var/www/html/var/db/backups/backup.zip
/var/www/html/var/db/backups/backup.zip is successfully created.
Run another backup with the same command.
Command fails immediately
[INFO] Backup Part-DB to /var/www/html/var/db/backups/backup.zip
The file /var/www/html/var/db/backups/backup.zip already exists. Do you want to overwrite it? (yes/no) [no]:
>
[ERROR] Backup aborted!
Expected behavior
backup file recreated in place with same name.
Server Side
Part-DB Version: 1.11.3 (docker)
PHP Version: docker installed version 4.1.27
Database Server sqlite
The text was updated successfully, but these errors were encountered:
Describe the bug
partdb:backup option --overwrite should allow overwriting destination output file, even if it exists. Instead, backup fails.
To Reproduce
Steps to reproduce the behavior:
/usr/bin/docker exec --user=www-data partdb php bin/console partdb:backup --full /var/www/html/var/db/backups/backup.zip
/var/www/html/var/db/backups/backup.zip
is successfully created.Expected behavior
backup file recreated in place with same name.
Server Side
The text was updated successfully, but these errors were encountered: