backing_up_your_data
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
backing_up_your_data [2022/08/12 15:01] – atolstov | backing_up_your_data [2023/05/02 10:43] – atolstov | ||
---|---|---|---|
Line 3: | Line 3: | ||
- | {{ network: | + | {{ network: |
<WRAP center round important 80%> | <WRAP center round important 80%> | ||
Line 45: | Line 46: | ||
#!/bin/bash | #!/bin/bash | ||
# Create a folder ~/ | # Create a folder ~/ | ||
+ | HOST=192.168.1.1 | ||
LOG_DIR=" | LOG_DIR=" | ||
cd $LOG_DIR/ | cd $LOG_DIR/ | ||
Line 54: | Line 56: | ||
# because login and pass for the FTP connection are unencrypted you can | # because login and pass for the FTP connection are unencrypted you can | ||
# restrict read/write access mode to the file with chmod command) | # restrict read/write access mode to the file with chmod command) | ||
- | wget --user=admin --password=' | + | wget --user=admin --password=' |
#archive to save storage space | #archive to save storage space | ||
gzip -f -v log-$yesterday.sqlite3 | gzip -f -v log-$yesterday.sqlite3 |
backing_up_your_data.txt · Last modified: 2023/05/02 10:43 by atolstov