Hello,
i’m trying Restic for Backup files and Database. I’m getting a little issue when i try to restore.
- I make a repository: restic init --repo /home/relic
- I’m trying to backup a folder: restic -r /home/relic --verbose backup /home/valeria/public_html
- After copy end, i’m checking the snapshots: restic -r /home/relic snapshots
- So now, i tried to delete che content of /home/valeria/public_html and after tried to restore backup with: restic -r /home/restic restore 446c66ac --/home/valeria/public_html
At this point i have an issue, in the folder /home/valeria/public_html, I expect only the content of “public_html” to be copied but every time Restic copy in the /home/valeria/public_html/home/valeria/public_html/ .
So not copy only the content of public_html but all the root of the folders. How can i fix it?
What’s wrong?
Thank you