Jump to content

What folders / files to choose when backing up my website?


MikeHolly

Recommended Posts

Posted

Could anybody give me some advice as to what folders I need to backup my board via SFTP please? I am using a backup 3rd party platform and it is requesting what folders should be backed up.

Thanks in advance.

Posted
53 minutes ago, Adlago said:

Agreed with  @AndyF  - only directory 'datastore' should not be;)

Well I guess you could exclude the 'core files' directories, but I find it easier to just take the whole lot if practical. :)

Posted

From my experience in alpha tests - where backing backup is very common, I've found that only 'datastore' is superfluous.

Very useful when backup files will be used - first remove all files from 'datastore' directory, then upload backup files ...

Posted

@Adlago I am receiving a lot of change reports when my backup report is run from the folder "datastore", would you suggest excluding the datastore folder from the original and subsequent backups, i.e. they will not be required if a restore is ever needed?

Posted

 

30 minutes ago, MikeHolly said:

@Adlago I am receiving a lot of change reports when my backup report is run from the folder "datastore", would you suggest excluding the datastore folder from the original and subsequent backups, i.e. they will not be required if a restore is ever needed?

This directory 'datastore' is used by various systems to save arbitrary data.  You can delete all files in this directory - the system IPS 4.x,x restore it from database files.

That's why you do not need a backup for this directory.

Posted

datastore is usually rebuilt as its temporary data. If its got a .htaccess or empty index.htm file in it, these two need to stay (the index file is quite likely to be present at least)

 

Posted
7 minutes ago, AndyF said:

datastore is usually rebuilt as its temporary data. If its got a .htaccess or empty index.htm file in it, these two need to stay (the index file is quite likely to be present at least)

Yes it does Andy, so I will leave that one there then.

....and thank you both again :)

Posted

:) No problem.

I know you have your reasons for doing individual directories etc, but would it not be easier to just grab the suite directory complete ? /datastore is not usually too massive.

Each to their own though. If your method works OK for you then I would not even suggest changing it. :)

EDIT... I'm assuming you have something else to take a backup of the database yes ? As that is probably in 99% of cases more vital than any part of the filesystem, no database = no data. :)

Posted

I do backup files and databases only on the test site - when there are alpha tests. Because it is comparatively small and fast as a recovery time.
My host maintains a backup server - every day at 3:00 ... I have a full backup for 7 days back. It is easy and convenient - and you do not think about it.

If I have to do a backup manually, for all my account - wow I will be left without hair, which anyway is already white ... ha ha ...(w00t)

Posted

@AndyF would it be be OK to not backup and totally remove the datastore folder from the backup and also EXCLUDE the .htaccess file contained in the datastore as well? Is that .htaccess file required if I ever need to install a backup?

Posted

You could ignore datastore. It will repopulate itself. The site might be a bit sluggish for a few moments though.

The .htaccess file you can recreate anyway via the Security Center in the ACP (A good idea to do this regardless) via System > Security > "Protect writable folders from dangerous files" option. This will write .htaccess files into appropriate directories.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...