Simple and Fast Data Migration and Storage Expansion
Recently, a user encountered an issue where their original storage disk was full and wanted to directly migrate data from their existing PI server to a Windows server while expanding the storage disk. Let’s explore the fastest way to migrate and expand data, and this guide can also be used for data recovery. This article uses Windows as an example, but the process is similar for other platforms.
home_dir
Field in the user
Table of the assets.db
Go directly to Lomorage to download the Windows version of the Photo Assistant and install it with the default settings.
Since the original storage disk was full, User A chose a new 10TB large hard disk and transferred the data from the old storage disk to the new disk.
The new folder in new disk is:
d:\imagebk
Ensure the folder under d:\imagebk same like as below
d:\imagebk
|-- test
|-- user_name
|-- user_name2
|-- assets.db
home_dir
Field in the user
Table of the assets.db
Now we need to point the Lomorage photo assistant to the new storage disk. You can do this by modifying the home_dir
field in the user
table in the assets.db
database.
Download a database management tool (like sqlitebrowser
) to help edit the assets.db
database file.
assets.db
to the Default Installation Location:> c:\Users\%username%\AppData\Local\lomoware\var\assets.db
Once you have modified the home_dir
field, stop the Lomorage Photo Assistant and replace the old assets.db
with the newly modified one at the default installation path. The default location is usually in the Lomorage
folder under your user directory.
After copying the modified assets.db
, restart the Lomorage Photo Assistant. At this point, your data migration is complete, and the storage limit issue has been resolved!