If you know about NGINX and servers, Webinoly is for you!
0 votes
27 views
by Talented
I see that it's possible to do a local DB backup, but if I am going to back up the /var/www folder (to back up all sites), how can I make sure that there is a database export for all the sites prior to doing the backup?

Thanks!

1 Answer

+1 vote
by Expert

Please, read the documentation before asking for help. The -add-db-pre option does exactly what you want 

by Talented
Sorry, I'm having some trouble learning how to do this. The examples all show the db for specific sites, but not for all of them. I am hoping to be able to back up all the sites and all the databases of course.

Unfortunately I'm not expert with duply or duplicity so this is proving to be pretty complicated for me.
by Talented

OK, I'm figuring this out. Every time you execute

sudo webinoly -backup=s3 -profile=<profile-name> -add-db-pre=example.com -destination=/var/www/example.com/db-backup -max=10 -bucket=<bucket-name>

an entry is added to ~/.duply/<profile-name>/pre. I now understand that I need to add one for each site whose database I want backed up. Practice makes perfect!

by Expert
That's right!
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.

Donations

Webinoly Support Paypal Donations Webinoly Support Bitcoin Donations GitHub Sponsors

Your regular donations is what keep this project moving forward. If you like Webinoly, buy me a coffee or a beer to show support.

Affiliate Links

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...