This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Full panel backup - in case if there is a server crash
#2
RE: Full panel backup - in case if there is a server crash
You could use the following commands:

Backup sentora+hosts:

find /var/sentora -path '*.*/.*' -prune -o -type f -print | zip /choosedirectory/`date +%a-%d-%b-%H-%M`-backup.zip -@

Backup all sql:

mysqldump -u root -ps(root password) --events --all-databases| gzip > /choosedirectory/`date +%a-%d-%b-%H-%M`-backup.sql.zip

You can put these commands in a cronjob to run every nicht.
[Image: logo2.png]

My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for Smile
Reply
Thanks given by:


Messages In This Thread
RE: Full panel backup - in case if there is a server crash - by bbspike - 09-06-2015, 04:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Server Crash rsthomas 3 7 ,068 05-18-2022, 09:26 AM
Last Post: Nigel
Server Vs. Workstation zHostingSolutions 4 8 ,275 09-14-2021, 06:30 AM
Last Post: sparkrack
https without certificate redirects to panel iraqiboy90 10 20 ,414 02-28-2021, 11:20 AM
Last Post: iraqiboy90

Forum Jump:


Users browsing this thread: 1 Guest(s)