Restore Application Backup

super-embed:
<p class="callout warning">
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 <a href="<https://docs.ultra.cc/connection-details/ssh/your-ultra-shell-a-beginners-guide>">Your Ultra Shell - A Beginner's Guide</a> to get familiarized with the Linux terminal. Or you can request official support by <a href="[<https://my.ultra.cc/submitticket.php>](<https://my.ultra.cc/submitticket.php>)">submitting a ticket</a>.
</p>

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

If you require further assistance, you can open a support ticket here!

Feedback and suggestions regarding this article are welcome on our Discord server