How to move Owncloud X to another disk partition

Dear All

             How do I move the existing owncloud x from /var/www/html to other disk partition which has 1.64 TB ?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sam Simon NasserIT Support ProfessionalCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nociSoftware EngineerCommented:
I agree with Sam Simon Nasser.
Just moving the data is what is needed, (be sure nginx/lighttpd/apache has access to the target directory, that step isn't shown in his link).
Following that recipe use /STORAGE on all places that mention /mnt/owncloud

chmod 775 /STORAGE
chown www-data:www-data /STORAGE
(in stead of www-data it might need something else, please check the owner & group of the original. /var/www/html )

Moving all of /var/www will a bigger effort with nginx/lighttpd/apache configs.
Prabhin MPEngineer-TechOPSCommented:
Step1. mount  the new harddisk. make the entry in fstab.
step2. create a folder in the HDD.
step3. copy all the contents from owncloud location to new location.
step4. delete the owncloud folder
step5. Create a symbolic link to new hdd location.
step6. restart the webserver.

The following link is an example for another application.

Hope this will help you!!!
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

nociSoftware EngineerCommented:

Splitting the data away from owncloud has some more benefits, like not offering a backdoor to the data.
so your solution does provide some consolense, and might replace it with an update headache.
If moving the whole tree, then it would be better to move the /var/www somewhere else according to your method.
Prabhin MPEngineer-TechOPSCommented:
yeah he can choose that option as well.
Prabhin MPEngineer-TechOPSCommented:
still this issue not yet solved?
Sam Simon NasserIT Support ProfessionalCommented:
nest solutions
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.