•  
      request #3518 SVN Backup pb on Windows server
    Infos
    #3518
    Jean-Louis Schricke (mesulog)
    2014-02-02 12:16
    2013-05-24 11:51
    2317
    Details
    SVN Backup pb on Windows server
    The backup_subversion script moves old backup in a folder.
    The folder name is defined as /old/date with DATE=`date +%Y%m%d:%H%M`

    This folder name is not supported by a shared folder on Windows server.
    I replaced the date format by DATE=`date +%Y%m%d-%H%M` in order to make in work.

    May be this change could be integrated in Tuleap core.
    SCM/Subversion
    6.0
    CentOS 5 + php51
    • [x] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    If this script is no longer needed, i think it is not a problem to modify it in order to ensure Windows folder naming compatibility.

    I really have a problem with this script which I have to modify each time I update Tuleap...
    User avatar
    Manuel,

    The Tuleap installation guide still recommends to add these scripts in root crontab.

    Formerly, I think that copying repository files was not 100% guaranted (risk of corruption if a transaction is done during copy) and the only safe procedure was dump.

    Beside that, this script is interesting for me since a full backup (file copy) is done every week and incremental dump is done daily.
    May be, if nobody use them anymore, you can modify the script "/usr/lib/codendi/bin/backup_subversion.sh".
    I will not have to edit at each Tuleap update...
    User avatar
    Striclty speaking there is no longer need of this script as subversion (with fsfs backend) perform all operations atomically.
    It means that a regular filesystem backend is enough to guaranty integrity of the subversion repositories.

    In order to know if your repositories are fsfs of bdb you shall look fs-type:
    $> cat /svnroot/*/db/fs-type | grep -i bdb

    if no output, it means it's all fsfs
    User avatar
    I have no news on this artifact.
    I have to modify the subversion backup_script at each Tuleap update.

    Best regards,