Hello
I have installed Urbackup on my QNAP.
Installed Version = 2.5.31.0
Qnap - [ UrBackup ] [ 2.5.30.0 ] Baremetal / Flat Files Backup Server | Forum des NAS : Synology, Qnap, Asustor… (forum-nas.fr)
I Use it in many environments (company, home etc.) for years. (about 13 QNAP Urbackup Server)
The NAS servers are getting on in years (old hardware).
I want to migrate this to a new QNAP NAS without losing the settings and database.
With a new installation a new server_indent will be created so no client will be backed up as this no longer matches.
With a new installation also no settings are taken over.
Have checked this on our test system.
I deleted the original backup app and reinstalled it. All settings are gone.
Where on the QNAP is installed Urbackup.
Can you please write me all the paths together and tell me how to migrate this correctly on the QNAP so I don’t lose any settings.
I have created a share URBACKUP on the QNAP. This is the backup directory there is also (see screenshot) a copy of the database and server settings stored.
But this is not the “working directory”
How can I find this via SSH?
The installation folder with all settings.
I guess the solution will be to copy the data away from the installation folder.
Then install the APP on the new QNAP.
Stop the APP.
Then transfer the data to the new QNAP and restart the APP.
Would this be a possibility for a migration?
Please help
Thanks for your support
I checked on our QNAP the pathes for my problem some weeks ago;
Usually the Apps are installed on 1st “Device” so on path /share/CACHEDEV1_DATA
So it’s very easy to search for location by using common U*nix command
[~] # find /share/CACHEDEV1_DATA -xdev -type d | grep -i "urbackup" | head -n 3
/share/CACHEDEV1_DATA/.qpkg/QUrBackup
/share/CACHEDEV1_DATA/.qpkg/QUrBackup/bin
/share/CACHEDEV1_DATA/.qpkg/QUrBackup/include
(EDIT: The folder is in the “variable” subfolder setup:
[/share/CACHEDEV1_DATA/.qpkg/QUrBackup] # find var/urbackup/
var/urbackup/
var/urbackup/dataplan_db.txt
var/urbackup/server_ident.key
var/urbackup/server_ident_ecdsa409k1.priv
var/urbackup/server_ident_ecdsa409k1.pub
var/urbackup/server_ident.priv
var/urbackup/server_ident.pub
var/urbackup/server_token.key
var/urbackup/backup_server.db
var/urbackup/backup_server_files.db
var/urbackup/backup_server_link_journal.db
var/urbackup/backup_server_links.db
var/urbackup/backup_server_settings.db
var/urbackup/backup_server_settings.db-wal
var/urbackup/backup_server_settings.db-shm
var/urbackup/backup_server.db-wal
var/urbackup/backup_server.db-shm
...
Additionally you can also use the backup which should be available in backup space.)
In my case its on 2nd Poll /share/CACHEDEV2_DATA
with my main subfolder urbackup
setup and there in common config folder urbackup
so I have to check it in /share/CACHEDEV2_DATA/urbackup/urbackup/
[/share/CACHEDEV2_DATA/urbackup/urbackup] # ls -la
total 7888216
drwxrwx--- 2 admin administrators 4096 2023-09-01 03:50 ./
drwxrwxrwx 46 admin administrators 4096 2023-09-02 12:52 ../
-rwxrwx--- 1 admin administrators 52428800 2023-09-01 03:49 backup_server.db*
-rwxrwx--- 1 admin administrators 20690672 2023-09-01 03:49 backup_server.db-wal*
-rwxrwx--- 1 admin administrators 6710886400 2023-09-01 03:49 backup_server_files.db*
-rwxrwx--- 1 admin administrators 1429672 2023-09-01 03:49 backup_server_files.db-wal*
-rwxrwx--- 1 admin administrators 52428800 2023-09-01 03:50 backup_server_link_journal.db*
-rwxrwx--- 1 admin administrators 87591232 2023-09-01 03:50 backup_server_link_journal.db-wal*
-rwxrwx--- 1 admin administrators 209715200 2023-09-01 03:50 backup_server_links.db*
-rwxrwx--- 1 admin administrators 396228672 2023-09-01 03:50 backup_server_links.db-wal*
-rwxrwx--- 1 admin administrators 184320 2023-09-01 03:49 backup_server_settings.db*
-rwxrwx--- 1 admin administrators 8577872 2023-09-01 03:49 backup_server_settings.db-wal*
-rwxrwx--- 1 admin administrators 160953312 2023-09-01 03:50 clientlist_b_106.ub*
-rwxrwx--- 1 admin administrators 15789481 2023-09-01 03:50 clientlist_b_158.ub*
-rwxrwx--- 1 admin administrators 41977864 2023-09-01 03:50 clientlist_b_162.ub*
-rwxrwx--- 1 admin administrators 173569813 2023-09-01 03:50 clientlist_b_163.ub*
-rwxrwx--- 1 admin administrators 116426990 2023-09-01 03:50 clientlist_b_167.ub*
-rwxrwx--- 1 admin administrators 361 2023-09-01 03:50 clientlist_b_171.ub*
-rwxrwx--- 1 admin administrators 1281476 2023-09-01 03:50 clientlist_b_172.ub*
-rwxrwx--- 1 admin administrators 10581878 2023-09-01 03:50 clientlist_b_173.ub*
-rwxrwx--- 1 admin administrators 2190179 2023-09-01 03:50 clientlist_b_174.ub*
-rwxrwx--- 1 admin administrators 5600433 2023-09-01 03:50 clientlist_b_175.ub*
-rwxrwx--- 1 admin administrators 8757278 2023-09-01 03:50 clientlist_b_176.ub*
-rwxrwx--- 1 admin administrators 10529 2023-09-01 03:50 clientlist_b_9.ub*
-rwxrwx--- 1 admin administrators 83 2023-09-01 03:50 server_ident_ecdsa409k1.priv*
-rwxrwx--- 1 admin administrators 128 2023-09-01 03:50 server_ident_ecdsa409k1.pub*
-rwxrwx--- 1 admin administrators 23 2023-09-01 03:50 server_ident.key*
-rwxrwx--- 1 admin administrators 335 2023-09-01 03:50 server_ident.priv*
-rwxrwx--- 1 admin administrators 444 2023-09-01 03:50 server_ident.pub*
Hope this steps helpy you to find your old folder
Hi Reiner
Thank you for your time and effort. I will have a look at it.
I think this is exactly what I was looking for
I will get back to you
Hello
Thanks that worked as you described.
Now I have only the following problem.
NAS01 there runs QTS there works the
NAS02 runs HERO which is based on ZFS and has other PATHS
Do you know by chance how I find this on a Qnap where a HERO operating system installed based on ZFS ?
Thank you Regards
sudo find /share -type d -name “urbackup” -print
I used this command
I got this back
/share/ZFS530_DATA/.qpkg/QUrBackup/
There is the application install path on a QNAP HERO
I think this is the solution.
I will try
Regards
1 Like