Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
701 views
by Rookie
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 Rookie
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 Rookie

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.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

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

...