From f6dad4e8f7c387e58f2d4c76a6112a1d1afe52a9 Mon Sep 17 00:00:00 2001 From: jerick Date: Tue, 15 Nov 2022 08:20:32 -0500 Subject: [PATCH] Changed README --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README.md b/README.md index e69de29..30474ea 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,31 @@ +# BorgBackup +Used to backup the desktop + +## Create Repo +This only needs to be done if you don't have a location set for the backups + +This example uses the mounted SSD on the desktop +`borg init --encryption=repokey /media/jerick/8E12F96B12F95923/LinuxBackups/` + +Backup the ~/src and ~/Documents directories into an archive called Monday +`borg create --stats /media/jerick/8E12F96B12F95923/LinuxBackups/::Monday ~/src ~/Documents` + +List all archives in the repository: +`borg list /media/jerick/8E12F96B12F95923/LinuxBackups/` + +Restore the Monday archive by extracting the files relative to the current directory: +`borg extract /media/jerick/8E12F96B12F95923/LinuxBackups/::Monday` + +Delete the Monday archive (please note that this does not free repo disk space): +`borg delete /media/jerick/8E12F96B12F95923/LinuxBackups/::Monday` + +Recover disk space by compacting the segment files in the repo +`borg compact /media/jerick/8E12F96B12F95923/LinuxBackups/` + +Backup entire system minus games +`borg create --stats --progress /media/jerick/8E12F96B12F95923/LinuxBackups/::Monday ~ --exclude ~/.steam --exclude ~/VirtualBox\ VMs/ --exclude ~/Games --exclude ~/.cache --exclude ~/NFSFolder` + +# Media h265 + +Finds all files in subdirectories and encodes them to 1080p h265 +