User Tools

Site Tools


backing_up_your_data

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
backing_up_your_data [2021/09/28 12:55] atolstovbacking_up_your_data [2021/11/17 09:54] – [Crontab on Linux] atolstov
Line 36: Line 36:
 gzip -v log-$yesterday.sqlite3 gzip -v log-$yesterday.sqlite3
 </code> </code>
 +
 +<WRAP center round tip 60%>
 +Do not forget grant additional run permissions
 +</WRAP>
 +  chmod u+x /path_to_run/backup.sh
 +
  
 Add the script to the //crontab// with the parameters: Add the script to the //crontab// with the parameters:
Line 41: Line 47:
 to run it every day at 00:10  to run it every day at 00:10 
  
-<WRAP center round tip 60%> 
-Do not forget grant additional run permissions 
-</WRAP> 
-  chmod a+x /path_to_run/backup.sh 
  
 New files will only be added to ~/WEBHMI/log_backup, nothing will be deleted from this folder. New files will only be added to ~/WEBHMI/log_backup, nothing will be deleted from this folder.
backing_up_your_data.txt · Last modified: 2023/05/02 10:43 by atolstov

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki