007revad / Synology_app_mover

Easily move Synology packages from 1 volume to another volume
MIT License
317 stars 25 forks source link

cannot backup Synology Photos‘ album and face data ... #130

Open PrestarLin opened 6 hours ago

PrestarLin commented 6 hours ago

hello, i test this script,and try to backup Synology Photos,and then i delete one album on the web of this package,and then use script to restore. but i discover the number of album does not restore,why?

PrestarLin commented 6 hours ago

image these doesnot backup

007revad commented 1 hour ago

The script only backs up the packages and their settings and database. It does not backup any shared folders.

For a full backup, that you can later restore, you'd also need to backup:

  1. The Photos folder in each user's home folder.
  2. The photo shared folders if Shared Space is enabled.
PrestarLin commented 1 hour ago

The script only backs up the packages and their settings and database. It does not backup any shared folders.

For a full backup, that you can later restore, you'd also need to backup:

  1. The Photos folder in each user's home folder.
  2. The photo shared folders if Shared Space is enabled.

these data cannot be found in the home folder,such as face discover data , tag...

OrpheeGT commented 28 minutes ago

This will do the job : https://github.com/007revad/Synology_app_mover/issues/114#issuecomment-2375487880

It did for me.

007revad commented 21 minutes ago

@OrpheeGT just reminded me of something.

@PrestarLin Try this:

  1. Go to Synology Photos > Settings > Shared Space.
  2. Disable the Shared Space.
  3. Then go back in and Enable Shared Space.
PrestarLin commented 18 minutes ago

@OrpheeGT just reminded me of something.只是让我想起了一件事。

@PrestarLin Try this: 试试这个:

  1. Go to Synology Photos > Settings > Shared Space.进入 Synology Photos > 设置 > 共享空间。
  2. Disable the Shared Space.禁用共享空间。
  3. Then go back in and Enable Shared Space.然后返回并启用共享空间。

i have not Enable Shared Space. maybe the script should also backup database? or not just package file.

007revad commented 3 minutes ago

Backing up, and restoring, the pgsql database is not possible because there are 7 or more Synology packages that use the same database. Restoring a backup of the database would also restore old data for the other 6 packages.

These are the ones I know of:

Audio Station
Calendar
Contacts
Download Station
Media Server
Synology Application Service
Synology Photos
Video Station
OrpheeGT commented 1 minute ago

So it makes sense only when source volume is meant to be deleted (like mine did when FS crashed)