Sign in

Restoring Publii Backups In Linux

  • This topic has 3 replies, 3 voices, and was last updated 3 days, 13 hours ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4778
    specimen65

    I’m migrating from Windows 10 to Debian, and wonder how I would restore my site’s backups in Linux since the default “sites location” in Publii’s “App Settings” in Windows points to “C:\Users\username\Documents\Publii\sites” which is a different directory/filepath than in Linux.

     

     

    #4788
    Bob

    Unzip the backup file on your new machine, and move the YOUR_NAME_SITE folder to the new location on the Linux machine /home/USERNAME/Documents/Publii/sites/

    I think it should work.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4793
    specimen65

    Thanks Bob! This worked flawlessly.

    Made a new site with exactly the same name, closed Publii. Then extracted my backups from my Windows machine and took the three folders in that site (input, output, preview) and moved them into the ‘Home/Documents/Publii/sites/site-name’ folder.

    Opened Publii, and there was everything there.

    #6575
    derkonsamarie

    It seems that your site does not has a sql database. If there one, then you would do other things. Like installing a bash shell on your windows, to restore the database, first of all you need to transfer from windows machine to the linux machine the backup files. The bash shell must support a secure copy and remote login commands. I think it sounds troublesome for someone who never worked with databases and don’t understand how they work. Before restoring just move the backup files in a subdirectory of mysql. By the way if it happens that you don’t have enough storage for your projects, you can use cheap storage vps, there a many option.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.