Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to restore if file name duplicate #50

Open
YK-Samgo opened this issue Jul 16, 2023 · 1 comment
Open

Failed to restore if file name duplicate #50

YK-Samgo opened this issue Jul 16, 2023 · 1 comment

Comments

@YK-Samgo
Copy link

If one domain has two qcow2 file share the same name in different folder, backup will be successful but restore may fail.

For example, domain test has 2 qcow2 file, vda in /mnt/a/data.qcow2 and vdb in /mnt/b/data.qcow2. Backup was successful, but I met problem when restore it. The restore tried to put the 2 data.qcow2 into the same target_dir, which threw a qcow2 file already exists error.

@aruhier
Copy link
Owner

aruhier commented Aug 28, 2023

Thanks for the bug report, I'll try this scenario.
Do you use zstd or tar or do you use directory? https://virt-backup.readthedocs.io/en/latest/config.html#packagers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants