For those like me are worried about the safeguard of a site ( Neos ), I explain how to do and hope that these few explanations help …
If you want to move your domain to another server or to move it on your localhost (linux) or move your domain from your localhost (linux) to your server etc…
I use “zip” to compress files, folders, full domain etc …
If you want to zip your full domain …
First backup your database with phpMyAdmin or other backup system …
remove your folder /var/www/vhosts/your-domain.com/httpdocs/Neos/Data/Temporary/Development
remove your folder /var/www/vhosts/your-domain.com/httpdocs/Neos/Data/Temporary/Production
If I delete these files, it is because it is not useful to keep them in the safeguard…
You must install “zip” if it not already installed …
To Zip your “Neos” domain or “Flow” which is for example in :
/var/www/vhosts/your-domain.com/httpdocs/Neos
cd /var/www/vhosts/your-domain.com/httpdocs/
Then write …
zip -y -r safeguard-Neos.zip Neos
- -y store symbolic links as the link instead of the referenced file
- -r recurse into directories
- safeguard-Neos.zip = the name of your safeguard file
- Neos = folder of your Neos if his name is Neos of course
After you press “enter” … zip works …
when it finished, you will find your file safeguard-Neos.zip
in /var/www/vhosts/your-domain.com/httpdocs/
You can then download it to your computer or wherever you want.
You can be sure that your “Neos” has completely been saved by keeping the famous “symlinks” which are impossible to download.
To restore your “Neos” on another server, the easiest way is to upload your safeguard-Neos.zip
in the folder where you want to restore it …
for example: /var/www/vhosts/your-domain.com/httpdocs/
Then, it is best to restore the database before to decompress your safeguard-Neos.zip
…
Then, you simply write :
unzip safeguard-Neos.zip
and press enter …
After a while, you have your “Neos” folder that is installed as it was when you saved it.
Then you do what you want ! …
In my case, I made several times this method on a ubuntu linux plesk server and each time everything went perfectly well.
Of course, it is best not to change anything in the zipped file safeguard !..
Personally, I downloaded the safeguard.zip
file on my computer (windows7) and then uploaded it on another linux server.
If you have linux on your computer, or if you have a Macintosh, I think it is possible to install the safeguard on your localhost.
Neos in principle should work because the symlinks will be properly installed …
I have not tried because I do not have linux on my computer