Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
323 B

  1. #!/bin/bash
  2. # Backup destination
  3. backup_dest=/run/media/kevin/pc-backup/backups/nzxt
  4. # Labels for backup name
  5. distro=arch
  6. datetime=$(date "+%m.%d-%H.%M")
  7. backupfile="$backup_dest/$datetime-$distro.tar.gz"
  8. sudo tar -czpvf "$backupfile" --exclude=/lost+found --exclude=/mnt --exclude=/proc --exclude=/run --exclude=/sys /