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

Backup mode discovery in restore is week #72

Closed
framps opened this Issue Sep 20, 2018 · 2 comments

Comments

Projects
None yet
1 participant
@framps
Copy link
Owner

framps commented Sep 20, 2018

If there exists a file or directory called sd in root directory of system then raspiBackup thinks it's a partitionoriented backup even if it's not and restore fails :-(

Root cause is the regex used to discover backup files created for partition oriented backup. It's too simple and should become more specific like ^(sd[a-z]([0-9]+)|mmcblk[0-9]+p[0-9]+).*

@framps framps added the bug label Sep 20, 2018

@framps framps self-assigned this Sep 20, 2018

@framps framps changed the title Backup mode discovery is week Backup mode discovery during restore is week Sep 20, 2018

@framps framps changed the title Backup mode discovery during restore is week Backup mode discovery in restore is week Sep 20, 2018

@framps

This comment has been minimized.

Copy link
Owner Author

framps commented Sep 21, 2018

Using the suggested regex solved the issue

@framps

This comment has been minimized.

Copy link
Owner Author

framps commented Sep 21, 2018

Fixed with suggested regex.

@framps framps closed this Jan 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment