Skip to content
This repository has been archived by the owner on Nov 6, 2021. It is now read-only.
/ udfbackup Public archive

Automatic and Headless UDF Disc Backup Utility

License

Notifications You must be signed in to change notification settings

rlaphoenix/udfbackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UDFBackup

Automatic and Headless UDF Disc Backup Utility.
Simply insert a disc in 1 or more drive's and it will automatically backup then eject all discs.

GitHub license GitHub issues

Features

  • Automated; Detect's disc insertion via udev rules.
  • Headless; No UI, No user interaction, just automated.
  • Parallel; Can be used with multiple disc's and multiple drive's.
  • DVD and Blu-Ray supported; with more to come.

To-do list

  • Generic Data Disc Support
  • CD Support
  • DVD Support
  • Blu-Ray Support
  • UHD Blu-Ray Support
  • Region Lock Removal
  • ISO Support with accurate 1:1 metadata

Requirements

All of these requirement's can be gotten from your Linux Distribution's Package Repository.

Installation

git clone https://github.com/imPRAGMA/udfbackup
cd udfbackup
sudo pip3 install -r requirements.txt
sudo mkdir -p /opt/udfbackup
sudo mv data/* /opt/udfbackup/
sudo ln -s /opt/udfbackup/51-automedia.rules /lib/udev/rules.d/
cd ../ && rm -r udfbackup
sudo udevadm control --reload

Open /opt/udfbackup/bash_wrapper.sh, change the USERNAME and OUTPUT_D variables to your needs, making sure read/write/rename/delete permissions are available for the username and output directory combination.

🎉

Insert disc's and let it spin up! Backups are created in hidden folders in the specified OUTPUT_D (. at start of the directory name).
Once the Backup has finished, it will unhide the directory to indicate that you can mess with it however you like now. If the hidden folder get's deleted, then something failed, check the info.log file which will be next to the device.py file. If you followed the instructions exactly, then it's location is /opt/udfbackup/info.log.

Uninstallation

sudo rm -r /opt/udfbackup
sudo udevadm control --reload

Yep, that's all that need's to be done.