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.2.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.2-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.2.tar.gz.

File metadata

  • Download URL: backup_to_harddrive-0.0.2.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-1021-azure

File hashes

Hashes for backup_to_harddrive-0.0.2.tar.gz
Algorithm Hash digest
SHA256 51cb9c684891c6ec074c372e8d16fe310d25987e7709d1b260a488157bb5ef62
MD5 69aeeeb091484040a81af65c5cec343d
BLAKE2b-256 3f8c8fec2ff5e16957f0ee5ded9ab6750f89fd0bb07988a9f4f074aefe9dedd0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: backup_to_harddrive-0.0.2-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-1021-azure

File hashes

Hashes for backup_to_harddrive-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7dcb4900e38d45ab988dbc84fa129f6f120f2b0bc094185650ae27296eeb71bd
MD5 589ca97d74aa6970a06e1e47a0a056bd
BLAKE2b-256 8bf6c3a342211dd4b44dc8cedcff8005dcdcf8d37188e40a1c7683ac34d5cc70

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