Restore Application Backup

Take care while restoring an application backup to avoid accidental overwrites of data. Use at your own risk and only proceed if you are comfortable navigating a Linux terminal. If you are unsure, see our Your Ultra.cc Shell - A Beginner's Guide to get familiarized with the Linux terminal. Or you can request official support by submitting a ticket.

In this guide, we will show you how to create and restore a backup from one of the Ultra.cc officially supported applications. The majority of applications installed from the User Control Panel will have a configuration directory in ~/.apps. While torrent clients and some other applications are excepted from this, and you will find their configuration directories in ~/.config.

Introduction

An application backup is created when you press Upgrade & Repair on the UCP, or by manually executing app-<appname> upgrade or app-<appname> repair. Application backups are compressed into ZIP archives, and are stored in ~/.apps/backup. You can also create application backups manually by executing app-<appname> backup.

Backup

To create an application backup, follow the below instructions:

app-<appname> backup

Restore

To restore an application backup, follow the below instructions:

app-<appname> stop
cp -r ~/.apps/<appname> ~/.apps/<appname>.bak
ls -lah ~/.apps/backup
unzip ~/.apps/backup/<appname>-2000-00-00_00-00_00000000.zip -d ~/
tar -xzvf ~/.apps/backup/<appname>-2000-00-00_00-00_00000000.zip -C ~/
app-<appname> restart

Revision #5
Created 2 January 2024 08:50:13 by varg
Updated 4 April 2024 05:54:22 by varg