[campsite-support] Installing a test site
  • Good afternoon,

    We're trying to install a test site as a duplicate to our current. However, we're not entirely sure which files we should copy. Should we copy the campsite sources as well or just the current instance? Or simply said: what do we need to do to set up a duplicate testing site?

    Any help is appreciated!

    Regards,
  • 2 Comments sorted by
  • Good afternoon !

    you can use the campsite-create-instance command to create a new
    instance, then you should copy the files from 'files', 'images' and
    'look' directories from the original 'www' directory to the new
    instance 'www' directory. finally you should copy the data from the
    original database to the new instance database.

    i know there are the campsite-backup-instance and
    campsite-restore-instance commands and they create a full copy from an
    instance and restore it, but i believe restoring will overwrite the
    current working instance.


    On 12/7/06, nkerkvliet@hotmail.com wrote:
    > Good afternoon,
    >
    > We're trying to install a test site as a duplicate to our current. However, we're not entirely sure which files we should copy. Should we copy the campsite sources as well or just the current instance? Or simply said: what do we need to do to set up a duplicate testing site?
    >
    > Any help is appreciated!
    >
    > Regards,
    >


    --
    /holman
  • You can use the "campsite-backup-instance" and
    "campsite-restore-instance" commands for this - that is what they were
    designed to do. Simply type these commands without arguments to get the
    help for them.

    - Paul


    Holman Romero wrote:
    > Good afternoon !
    >
    > you can use the campsite-create-instance command to create a new
    > instance, then you should copy the files from 'files', 'images' and
    > 'look' directories from the original 'www' directory to the new
    > instance 'www' directory. finally you should copy the data from the
    > original database to the new instance database.
    >
    > i know there are the campsite-backup-instance and
    > campsite-restore-instance commands and they create a full copy from an
    > instance and restore it, but i believe restoring will overwrite the
    > current working instance.
    >
    >
    > On 12/7/06, nkerkvliet@hotmail.com wrote:
    >> Good afternoon,
    >>
    >> We're trying to install a test site as a duplicate to our current.
    >> However, we're not entirely sure which files we should copy. Should we
    >> copy the campsite sources as well or just the current instance? Or
    >> simply said: what do we need to do to set up a duplicate testing site?
    >>
    >> Any help is appreciated!
    >>
    >> Regards,
    >>
    >
    >