How to backup and restore data of gphoto tool (google photo)

How to backup data tool google photos

Data of gphoto tool is located in database google photos of mysql, you run the following command to backup data of tool

cd /root
mysqldump --user=root --password=facebook --default-character-set=utf8 gphoto> gphoto.sql

After running the above command, the data of tool gphoto will be located in file /root/gphoto.sql, where you download and save it at the safest place

How to restore data tool google photos

To restore the data of the gphoto tool, you need to upload the file backup data is gphoto.sql to / root directory of vps that has the gphoto tool installed, then run the following command to perform the restore.

cd /root
mysql --user=root --password=facebook --default-character-set=utf8 gphoto < gphoto.sql

That’s done, if you need more support, please inbox me via contact menu!

How to backup and restore data of gphoto tool (google photo)
How to backup and restore data of gphoto tool (google photo)