Skip to main content

Backup home files to Harddrive on Linux

Project description

backup_to_harddrive

This script can typically be trigger when you want to backup files from your home folder to one or more backup path (e.g harddrives.)

Targeted platform

Platform Implemented
Linux [ x ]
Windows [ ]
macOS []

Features included

  • Exclude folders by list
  • CLI switch on and off function (useful if you want to quickly reboot the computer without triggering a long backup)
  • CLI retrieval of last date of backup
  • Creation of quick restore shell script. This is useful to quickly restore part of a backup (for instance, only document, or music etc.) on another machine.

Configuration file

Create a config file in ~/.config/backup_to_harddrive/config.yaml. Follow this example

backup_configurations:
  my_backup:
    source: /home/foo
    list_of_harddrive:
      - /media/foo/hd1
      - /media/foo/hd2
    list_of_excluded_folders:
     - .cache
     - /home/foo/excluded
  backup_two:
    source: /home/bar
    list_of_harddrive:
      - /mnt/bar
    list_of_excluded_folders:
     - .config
     - .cache

Use cases

See USECASES.md

Contributing

See CONTRIBUTING.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

backup_to_harddrive-0.0.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

backup_to_harddrive-0.0.1-py2.py3-none-any.whl (7.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file backup_to_harddrive-0.0.1.tar.gz.

File metadata

  • Download URL: backup_to_harddrive-0.0.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.12 Linux/6.8.0-52-generic

File hashes

Hashes for backup_to_harddrive-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e7684d78bb05fee8a04b17ee0b21b8906bf734abb3b058be33b41178ba11b24c
MD5 3a8b2f8c7e4bb12f603d9957ba34a126
BLAKE2b-256 1e6ef37013989adbc9436068b91b1c85c79cc64bb066f7d4e46c683c7aa3e1d1

See more details on using hashes here.

File details

Details for the file backup_to_harddrive-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: backup_to_harddrive-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.12 Linux/6.8.0-52-generic

File hashes

Hashes for backup_to_harddrive-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 685d055f6cc84c6cf612d6fe49aede771cee7431127efd772f688ee6d04966aa
MD5 c4c0ec252ded59f977a3489475fedecb
BLAKE2b-256 c802cf90f45d90312428d28a10e14094659295116a4a0e98cddcd20a1a4ac330

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page