AlexCherrypi / backupgnome

A little script that can create backups for your Gnome addons and corresponding settings and restore them.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

backupgnome

A little script that can create backups for your Gnome installation and restore them.

My preferred usage: on an USB-Stick, flashed with my favourite Linux ISO. Run the script once before the reinstallation, then again afterwards. No files have to be moved by hand by doing so. Everything just works!

wget https://raw.githubusercontent.com/KnallbertLp/backupgnome/main/backupgnome.sh -O backupgnome.sh && chmod +x backupgnome.sh && ./backupgnome.sh

  • Usage: ./backupgnome [ACTION] [OPTIONS ...]

  • Action: -b , --backup , --back to start backup
    -r, --restore , --rest to restore backup
    -h , --help to get this help page

  • Options('-b'&'-r'): -f [FILE] file to store the backup in and to restore from (DEFAULT: current directory and file name 'gnomebackup.tar.gz' )

  • Options('-b'):  -e [DIRECTORY] location to copy the gnome extentions from (DEFAULT: ~ /.local/share/gnome-shell/extensions/ )
             -d [dconf ~ DIR] directory in dconf. learn more at 'dconf help' or 'man dconf' (DEFAULT: / )
             -A , -S , -E Backup All the things, only Settings or only Extentions (DEFAULT: -A )

  • Options('-b')(preset):  -u Preset for very cautious people.
                Sets -d dconf directory to '/org/gnome/shell/extensions/'
                and -e extention directory to '~/.local/share/gnome-shell/extensions/'

  • Good to know: If the script runs without any action specified, it will decide for it self what to do.
            If it finds a 'gnomebackup.tar.gz' in its directory, it will try to load it.
            If it does not find any, it will start creating a new backup

About

A little script that can create backups for your Gnome addons and corresponding settings and restore them.

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%