Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Backup

Here is a list of scenarios in which it is possible to create backups in a smart way

Backup Linux Home

To back up your current linux home create a .distfile as follows

## File: /home/samsepiol/.distfile
@backup-${USER}-${NOW}.zip

.ssh
.config
.bashrc
!*.secret

Then run

cd ${HOME} && dist.sh

Backup System Logs

To back up all logs of your machine

## File: /var/log/.distfile
@logs-${NOW}.zip

*.log

Then run

cd /var/log && dist.sh