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

Incremental Backup TAR Compression Restore #335

Open
mfmaut opened this issue Feb 3, 2023 · 0 comments
Open

Incremental Backup TAR Compression Restore #335

mfmaut opened this issue Feb 3, 2023 · 0 comments

Comments

@mfmaut
Copy link

mfmaut commented Feb 3, 2023

Hi!

I have a conf file with 2 Backups, one MySQL Dump and one Incremental Directory Backup.
When I run --restore in the directories i get "backup requires exactly one source config".

Is there even a --restore option for incremental backups?
And if yes, should I set up the Config File for MySQL separate to avoid the Error above?

My current conf File:


   /<backups>
     /<backup name="mysqldump">
       /<source type="mysqldump">
       /<option name="databases" value="xxxxx" />
       /<option name="user" value="xxxxx" />
       /<option name="password" value="xxxxx" />
         /<option name="host" value="localhost" />
  /<option name="port" value="3306" />
       /</source>
       /<target dirname="/home/onedrive/mysql-backup/" filename="mysqldump-%Y%m%d-%H%i.sql"  compress="gzip" />
     /</backup>
     /<backup name="xxxxxxxx">
       /<source type="tar">
       /<option name="path" value="/home/www/xxxxxxx/" />
       /<option name="incrementalFile" value="/home/onedrive/metadata.snar" />
       /<option name="ignoreFailedRead" value="true"/>
       /<option name="exclude" value="cache,var/cache,home/www/lxxxxxxxxx.com/var/cache/"> /</option>
       /</source>
       /<target dirname="/home/onedrive/" filename="files-%Y%m%d-%H%i.tar"  compress="gzip" />
     /</backup>
  /<backups>

Even when i delete the MySQL Backup from the Conf i get those Error

thanks :)

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

1 participant