This repository was archived by the owner on Oct 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,4 @@ It's also used to track issues in production.
1313- [ Firewall] ( docs/firewall.md )
1414- [ Sample Commands] ( docs/sample_commands.md )
1515- [ Rollbacks] ( docs/rollbacks.md )
16+ - [ Backups] ( docs/backups.md )
Original file line number Diff line number Diff line change 1+ # Backups
2+
3+ ## Backup Index Database
4+
5+ ``` bash
6+ cd /home/torrust/github/torrust/torrust-demo/
7+ ./share/bin/index-db-backup.sh
8+ ```
9+
10+ ## Check Backups Crontab Configuration
11+
12+ ``` bash
13+ sudo crontab -e
14+ ```
15+
16+ You should see the [ crontab.conf] ( ../share/container/default/config/crontab.conf ) configuration file.
17+
18+ ## Check Backups
19+
20+ ``` bash
21+ ls -alt /home/torrust/backups
22+ total 26618268
23+ -rwxr-x--- 1 root root 2342912 May 12 07:00 backup_2025-05-12_07-00-01.db
24+ -rwxr-x--- 1 root root 2342912 May 12 06:00 backup_2025-05-12_06-00-02.db
25+ -rwxr-x--- 1 root root 2342912 May 12 05:00 backup_2025-05-12_05-00-01.db
26+ -rwxr-x--- 1 root root 2342912 May 12 04:00 backup_2025-05-12_04-00-01.db
27+ ```
28+
29+ YOu can also check the script output with:
30+
31+ ``` bash
32+ tail /var/log/cron.log
33+ ```
You can’t perform that action at this time.
0 commit comments