Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Restoring Publii Backups In Linux

  • #4778
    Avatar photo[anonymous]

    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
    Avatar photoBob

    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.

    #4793
    Avatar photo[anonymous]

    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
    Avatar photo[anonymous]

    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.