X1 -> X2 Migration & backup

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
tfh
-


Joined: 03 May 2020
Posts: 112
Location: Netherlands

PostPosted: Sat Jun 27, 2020 1:51 pm    Post subject: X1 -> X2 Migration & backup Reply with quote

I was waiting for HTTP2 support before I was planning to upgrade to X2, but as my host-provider has decided in triple the pricing of my hosting plans, I've decided to seriously look into moving all my hosting to my server here at home.

This week I've some some testing and I must say that I was quite positivly suprised at how wel X1 handles itself on relativly old/slow hardware. I've installed Windows 10 Pro with X1 on a Celeron J1900 with 4GByte of memory and did some stresstests which all went quite fine.

One thing I was wondering about. If I make a daily backup of the directory Abyss is installed in (Let's say X:\Abyss). If in case of a crash/dead SSD/whatever, will it be enough to re-install X2 on a freshly installed system, Re-Install PHP, stop X2, copy the old directoy back and restart X2 to get it working again with the same settings?
Or is there an easier way to achieve this?
_________________
https://www.arnauddeklerk.com
https://www.file-hunter.com
Back to top View user's profile Send private message Visit poster's website
pkSML
-


Joined: 29 May 2006
Posts: 952
Location: Michigan, USA

PostPosted: Mon Jun 29, 2020 3:58 am    Post subject: Reply with quote

Hello tfh. You would likely want to reinstall Abyss. Stop the server (executable or service - depending on how you have it starting up). Then copy your abyss.conf file to the new installation. If everything else matches up (drive letters and web docs folder location, php location, etc.), restart the server and you'll be good to go.

If you've ever toyed with the idea of running Abyss on Linux or would like to learn how, check out my site --> https://abyssvids.pksml.net
_________________
Stephen
Need a LitlURL?


http://CodeBin.yi.org
Back to top View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1295

PostPosted: Mon Jun 29, 2020 4:39 pm    Post subject: Re: X1 -> X2 Migration & backup Reply with quote

tfh wrote:
If I make a daily backup of the directory Abyss is installed in (Let's say X:\Abyss). If in case of a crash/dead SSD/whatever, will it be enough to re-install X2 on a freshly installed system, Re-Install PHP, stop X2, copy the old directoy back and restart X2 to get it working again with the same settings?
Or is there an easier way to achieve this?


To make your life easy, try installing everything inside the same directory X:/WWW for example:

X:\WWW\abyss
X\WWW\PHP
X:\WWW\Sites\Site1
X:\WWW\Sites\Site2
...

Neither Abyss Web Server no PHP requires installation run. A simple copy/paste deployment is usually sufficient.

The only problem is with MySQL which requires installation and backing up its data is a bit complex (not a simple file backup.)
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
tfh
-


Joined: 03 May 2020
Posts: 112
Location: Netherlands

PostPosted: Mon Jun 29, 2020 7:04 pm    Post subject: Reply with quote

pkSML wrote:
Hello tfh. You would likely want to reinstall Abyss. Stop the server (executable or service - depending on how you have it starting up). Then copy your abyss.conf file to the new installation. If everything else matches up (drive letters and web docs folder location, php location, etc.), restart the server and you'll be good to go.

If you've ever toyed with the idea of running Abyss on Linux or would like to learn how, check out my site --> https://abyssvids.pksml.net


admin wrote:
tfh wrote:
If I make a daily backup of the directory Abyss is installed in (Let's say X:\Abyss). If in case of a crash/dead SSD/whatever, will it be enough to re-install X2 on a freshly installed system, Re-Install PHP, stop X2, copy the old directoy back and restart X2 to get it working again with the same settings?
Or is there an easier way to achieve this?


To make your life easy, try installing everything inside the same directory X:/WWW for example:

X:\WWW\abyss
X\WWW\PHP
X:\WWW\Sites\Site1
X:\WWW\Sites\Site2
...

Neither Abyss Web Server no PHP requires installation run. A simple copy/paste deployment is usually sufficient.

The only problem is with MySQL which requires installation and backing up its data is a bit complex (not a simple file backup.)


Hi pkSML & admin,

Thank you both very much for the advice. Especially the idea of putting everything into one direcory is... well... simply perfect. Sincy my websites only need .PHP (and no MySQL) it's the perfect solution.
I've considered using Linux and I'd be able to get it up and running, but... if I mess things up I will not be able to repair it I'm afraid and with Windows that won't be any problem. And with a few hundred visitors a day I don't want to spend a couple of days getting Linux and my sites up & running again.

Thanks, I know what to do know.
_________________
https://www.arnauddeklerk.com
https://www.file-hunter.com
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group