Backup remote Linux server to windows

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












0















I would like to backup a remote linux server into a windows workstation.



I am looking for an approach similar to this, but in windows: Backup from remote server



Is there any rsync client for windows that I can use, or any GUI application that uses rsync underneath? I would need to be able to connect using an SSH key, and have it run daily to synchronize remote files into the windows machine.










share|improve this question
























  • Note if you keep the OS and user files separate, then it is easier to do backups.

    – ctrl-alt-delor
    Feb 5 at 16:15











  • Is you question: What GUI tools exist for Microsoft's Windows, that allow me to do backups of remote devices, using open standards (such as rsync)? If so this may not be the best place to ask. Have you also considered having the Gnu/Linux server attach to a Windows share, and then have the Gnu/Linux server do the backup?

    – ctrl-alt-delor
    Feb 5 at 16:18











  • @ctrl-alt-delor There is no need for gui. it can be cygwin based, command line or GUI. GUI is a nice to have just to make it easier to use. Requirements are: Works in Windows, retrieves files through rsync preferrably with SSH, and can be called from a daily scheduled task.

    – BlunT
    Feb 5 at 16:34











  • I have big doubts explaining how to do it from native Windows tools is on topic here.

    – Rui F Ribeiro
    Feb 5 at 19:09












  • linux -> anything... rsnapshot

    – ron
    Feb 5 at 19:15















0















I would like to backup a remote linux server into a windows workstation.



I am looking for an approach similar to this, but in windows: Backup from remote server



Is there any rsync client for windows that I can use, or any GUI application that uses rsync underneath? I would need to be able to connect using an SSH key, and have it run daily to synchronize remote files into the windows machine.










share|improve this question
























  • Note if you keep the OS and user files separate, then it is easier to do backups.

    – ctrl-alt-delor
    Feb 5 at 16:15











  • Is you question: What GUI tools exist for Microsoft's Windows, that allow me to do backups of remote devices, using open standards (such as rsync)? If so this may not be the best place to ask. Have you also considered having the Gnu/Linux server attach to a Windows share, and then have the Gnu/Linux server do the backup?

    – ctrl-alt-delor
    Feb 5 at 16:18











  • @ctrl-alt-delor There is no need for gui. it can be cygwin based, command line or GUI. GUI is a nice to have just to make it easier to use. Requirements are: Works in Windows, retrieves files through rsync preferrably with SSH, and can be called from a daily scheduled task.

    – BlunT
    Feb 5 at 16:34











  • I have big doubts explaining how to do it from native Windows tools is on topic here.

    – Rui F Ribeiro
    Feb 5 at 19:09












  • linux -> anything... rsnapshot

    – ron
    Feb 5 at 19:15













0












0








0








I would like to backup a remote linux server into a windows workstation.



I am looking for an approach similar to this, but in windows: Backup from remote server



Is there any rsync client for windows that I can use, or any GUI application that uses rsync underneath? I would need to be able to connect using an SSH key, and have it run daily to synchronize remote files into the windows machine.










share|improve this question
















I would like to backup a remote linux server into a windows workstation.



I am looking for an approach similar to this, but in windows: Backup from remote server



Is there any rsync client for windows that I can use, or any GUI application that uses rsync underneath? I would need to be able to connect using an SSH key, and have it run daily to synchronize remote files into the windows machine.







linux windows rsync backup






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 5 at 19:07









Rui F Ribeiro

40.6k1479137




40.6k1479137










asked Feb 5 at 16:04









BlunTBlunT

19216




19216












  • Note if you keep the OS and user files separate, then it is easier to do backups.

    – ctrl-alt-delor
    Feb 5 at 16:15











  • Is you question: What GUI tools exist for Microsoft's Windows, that allow me to do backups of remote devices, using open standards (such as rsync)? If so this may not be the best place to ask. Have you also considered having the Gnu/Linux server attach to a Windows share, and then have the Gnu/Linux server do the backup?

    – ctrl-alt-delor
    Feb 5 at 16:18











  • @ctrl-alt-delor There is no need for gui. it can be cygwin based, command line or GUI. GUI is a nice to have just to make it easier to use. Requirements are: Works in Windows, retrieves files through rsync preferrably with SSH, and can be called from a daily scheduled task.

    – BlunT
    Feb 5 at 16:34











  • I have big doubts explaining how to do it from native Windows tools is on topic here.

    – Rui F Ribeiro
    Feb 5 at 19:09












  • linux -> anything... rsnapshot

    – ron
    Feb 5 at 19:15

















  • Note if you keep the OS and user files separate, then it is easier to do backups.

    – ctrl-alt-delor
    Feb 5 at 16:15











  • Is you question: What GUI tools exist for Microsoft's Windows, that allow me to do backups of remote devices, using open standards (such as rsync)? If so this may not be the best place to ask. Have you also considered having the Gnu/Linux server attach to a Windows share, and then have the Gnu/Linux server do the backup?

    – ctrl-alt-delor
    Feb 5 at 16:18











  • @ctrl-alt-delor There is no need for gui. it can be cygwin based, command line or GUI. GUI is a nice to have just to make it easier to use. Requirements are: Works in Windows, retrieves files through rsync preferrably with SSH, and can be called from a daily scheduled task.

    – BlunT
    Feb 5 at 16:34











  • I have big doubts explaining how to do it from native Windows tools is on topic here.

    – Rui F Ribeiro
    Feb 5 at 19:09












  • linux -> anything... rsnapshot

    – ron
    Feb 5 at 19:15
















Note if you keep the OS and user files separate, then it is easier to do backups.

– ctrl-alt-delor
Feb 5 at 16:15





Note if you keep the OS and user files separate, then it is easier to do backups.

– ctrl-alt-delor
Feb 5 at 16:15













Is you question: What GUI tools exist for Microsoft's Windows, that allow me to do backups of remote devices, using open standards (such as rsync)? If so this may not be the best place to ask. Have you also considered having the Gnu/Linux server attach to a Windows share, and then have the Gnu/Linux server do the backup?

– ctrl-alt-delor
Feb 5 at 16:18





Is you question: What GUI tools exist for Microsoft's Windows, that allow me to do backups of remote devices, using open standards (such as rsync)? If so this may not be the best place to ask. Have you also considered having the Gnu/Linux server attach to a Windows share, and then have the Gnu/Linux server do the backup?

– ctrl-alt-delor
Feb 5 at 16:18













@ctrl-alt-delor There is no need for gui. it can be cygwin based, command line or GUI. GUI is a nice to have just to make it easier to use. Requirements are: Works in Windows, retrieves files through rsync preferrably with SSH, and can be called from a daily scheduled task.

– BlunT
Feb 5 at 16:34





@ctrl-alt-delor There is no need for gui. it can be cygwin based, command line or GUI. GUI is a nice to have just to make it easier to use. Requirements are: Works in Windows, retrieves files through rsync preferrably with SSH, and can be called from a daily scheduled task.

– BlunT
Feb 5 at 16:34













I have big doubts explaining how to do it from native Windows tools is on topic here.

– Rui F Ribeiro
Feb 5 at 19:09






I have big doubts explaining how to do it from native Windows tools is on topic here.

– Rui F Ribeiro
Feb 5 at 19:09














linux -> anything... rsnapshot

– ron
Feb 5 at 19:15





linux -> anything... rsnapshot

– ron
Feb 5 at 19:15










2 Answers
2






active

oldest

votes


















0














Cygwin has openssh (client and server) and rsync, so you can certainly use that to create an rsync target just about the same as you would on linux.



My main worry would be filesystem issues. Rsync attempts to sync metadata, not capture it in a separate location (like tar or zip would do). That means where the metadata is not compatible with the target filesystem, you'll have problems.



  • Users may not be the same on both machines

  • NTFS filenames have more restrictions than most linux filesystems.

  • I have no idea what would happen if rsync requests device special files on NTFS.

If you're trying to sync over a web folder without any odd names and where the ownership/permission isn't a big deal, it should work pretty well. If you're trying to sync a linux root filesystem and want to preserve all the devices and permissions, I think rsync onto windows may be more of a problem.



Another approach would be to run a linux VM inside the windows server. Then you could configure the VM as you want. If the only thing it does is some off-hours file transfer, and you have plenty of RAM, it shouldn't affect the performance of the windows server much at all.






share|improve this answer























  • The goal is to have a second offsite backup of linux servers. I would be using windows workstations, just because they are on most of the time, so any night they are unused and could be left synchronizing data. I want to sync user folders, cpanel accounts which contain websites, emails and other stuff. Can I mount the partition in a way that the metadata can be preserved? Or is that not a concern?

    – BlunT
    Feb 5 at 20:38


















0














rsnapshot.conf



#################################################
# rsnapshot.conf - rsnapshot configuration file #
#################################################

config_version 1.2

# All snapshots will be stored under this root directory.
#
# what ron uses

snapshot_root /bkup/private/

# If no_create_root is enabled, rsnapshot will not automatically create the
# snapshot_root directory. This is particularly useful if you are backing
# up to removable media, such as a FireWire or USB drive.
#
no_create_root 1

#################################
# EXTERNAL PROGRAM DEPENDENCIES #
#################################

# LINUX USERS: Be sure to uncomment "cmd_cp". This gives you extra features.
# EVERYONE ELSE: Leave "cmd_cp" commented out for compatibility.
#
# See the README file or the man page for more details.
#
cmd_cp /bin/cp

# uncomment this to use the rm program instead of the built-in perl routine.
#
cmd_rm /bin/rm

# rsync must be enabled for anything to work. This is the only command that
# must be enabled.
#
cmd_rsync /usr/bin/rsync

# Uncomment this to enable remote ssh backups over rsync.
#
#cmd_ssh /usr/bin/ssh

# Comment this out to disable syslog support.
#
cmd_logger /bin/logger

# Uncomment this...
# Uncomment that...

#########################################
# BACKUP LEVELS / INTERVALS #
# Must be unique and in ascending order #
# e.g. alpha, beta, gamma, etc. #
#########################################

# retain alpha 6
# retain beta 7
# retain gamma 4
# retain delta 3

# what ron uses, daily non-incremental backup via cron at 2am,
# crontab entry: * 2 * * * /usr/local/bin/rsnapshot daily

retain daily 1

############################################
# GLOBAL OPTIONS #
# All are optional, with sensible defaults #
############################################

# Verbose level, 1 through 5.
# 1 Quiet Print fatal errors only
# 2 Default Print errors and warnings only
# 3 Verbose Show equivalent shell commands being executed
# 4 Extra Verbose Show extra verbose information
# 5 Debug mode Everything
#
verbose 2

# Same as "verbose" above, but controls the amount of data sent to the
# logfile, if one is being used. The default is 3.
#
loglevel 3

# If you enable this, data will be written to the file you specify. The
# amount of data written is controlled by the "loglevel" parameter.
#
logfile /var/log/rsnapshot

[... bunch of stuff removed to post on stackexchange easier...]

###############################
### BACKUP POINTS / SCRIPTS ###
###############################

# LOCALHOST
# backup /home/ localhost/
# backup /etc/ localhost/
# backup /usr/local/ localhost/
# backup /var/log/rsnapshot localhost/
# backup /etc/passwd localhost/
# backup /home/foo/My Documents/ localhost/
# backup /foo/bar/ localhost/ one_fs=1, rsync_short_args=-urltvpog
# backup_script /usr/local/bin/backup_pgsql.sh localhost/postgres/
# You must set linux_lvm_* parameters below before using lvm snapshots
# backup lvm://vg0/xen-home/ lvm-vg0/xen-home/

# EXAMPLE.COM
# backup_exec /bin/date "+ backup of example.com started at %c"
# backup root@example.com:/home/ example.com/ +rsync_long_args=--bwlimit=16,exclude=core
# backup root@example.com:/etc/ example.com/ exclude=mtab,exclude=core
# backup_exec ssh root@example.com "mysqldump -A > /var/db/dump/mysql.sql"
# backup root@example.com:/var/db/dump/ example.com/
# backup_exec /bin/date "+ backup of example.com ended at %c"

# CVS.SOURCEFORGE.NET
# backup_script /usr/local/bin/backup_rsnapshot_cvsroot.sh rsnapshot.cvs.sourceforge.net/

# RSYNC.SAMBA.ORG
# backup rsync://rsync.samba.org/rsyncftp/ rsync.samba.org/rsyncftp/

# what ron uses, very simple, local disks
# /data is /dev/sdb1 an N tb drive
# snapshot root folder /bkup is /dev/sdc1 an n tb volume
# this will copy everything under /data to /bkup/private/mybackup/

backup /data mybackup/


If you set up a service and I think SSH is the preferred but it could be RSH or others, it's as simple as copy from source to destination via tailoring the rsnapshot.conf file.



https://wiki.archlinux.org/index.php/Rsnapshot



https://rsnapshot.org/



http://www.mikerubel.org/computers/rsync_snapshots/




rsnapshot is a filesystem snapshot utility based on rsync. rsnapshot makes it easy to make periodic snapshots of local machines, and remote machines over ssh. The code makes extensive use of hard links whenever possible, to greatly reduce the disk space required. Rsnapshot is written entirely in perl with no module dependencies, and has been tested with versions 5.004 through 5.16.3. It should work on any reasonably modern UNIX compatible OS.




rsnapshot is great if installed on linux, and when backing up from source to destination where source is basically anything mounted on linux. Realize mounted on linux does not need to be local disks.






share|improve this answer






















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f498836%2fbackup-remote-linux-server-to-windows%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Cygwin has openssh (client and server) and rsync, so you can certainly use that to create an rsync target just about the same as you would on linux.



    My main worry would be filesystem issues. Rsync attempts to sync metadata, not capture it in a separate location (like tar or zip would do). That means where the metadata is not compatible with the target filesystem, you'll have problems.



    • Users may not be the same on both machines

    • NTFS filenames have more restrictions than most linux filesystems.

    • I have no idea what would happen if rsync requests device special files on NTFS.

    If you're trying to sync over a web folder without any odd names and where the ownership/permission isn't a big deal, it should work pretty well. If you're trying to sync a linux root filesystem and want to preserve all the devices and permissions, I think rsync onto windows may be more of a problem.



    Another approach would be to run a linux VM inside the windows server. Then you could configure the VM as you want. If the only thing it does is some off-hours file transfer, and you have plenty of RAM, it shouldn't affect the performance of the windows server much at all.






    share|improve this answer























    • The goal is to have a second offsite backup of linux servers. I would be using windows workstations, just because they are on most of the time, so any night they are unused and could be left synchronizing data. I want to sync user folders, cpanel accounts which contain websites, emails and other stuff. Can I mount the partition in a way that the metadata can be preserved? Or is that not a concern?

      – BlunT
      Feb 5 at 20:38















    0














    Cygwin has openssh (client and server) and rsync, so you can certainly use that to create an rsync target just about the same as you would on linux.



    My main worry would be filesystem issues. Rsync attempts to sync metadata, not capture it in a separate location (like tar or zip would do). That means where the metadata is not compatible with the target filesystem, you'll have problems.



    • Users may not be the same on both machines

    • NTFS filenames have more restrictions than most linux filesystems.

    • I have no idea what would happen if rsync requests device special files on NTFS.

    If you're trying to sync over a web folder without any odd names and where the ownership/permission isn't a big deal, it should work pretty well. If you're trying to sync a linux root filesystem and want to preserve all the devices and permissions, I think rsync onto windows may be more of a problem.



    Another approach would be to run a linux VM inside the windows server. Then you could configure the VM as you want. If the only thing it does is some off-hours file transfer, and you have plenty of RAM, it shouldn't affect the performance of the windows server much at all.






    share|improve this answer























    • The goal is to have a second offsite backup of linux servers. I would be using windows workstations, just because they are on most of the time, so any night they are unused and could be left synchronizing data. I want to sync user folders, cpanel accounts which contain websites, emails and other stuff. Can I mount the partition in a way that the metadata can be preserved? Or is that not a concern?

      – BlunT
      Feb 5 at 20:38













    0












    0








    0







    Cygwin has openssh (client and server) and rsync, so you can certainly use that to create an rsync target just about the same as you would on linux.



    My main worry would be filesystem issues. Rsync attempts to sync metadata, not capture it in a separate location (like tar or zip would do). That means where the metadata is not compatible with the target filesystem, you'll have problems.



    • Users may not be the same on both machines

    • NTFS filenames have more restrictions than most linux filesystems.

    • I have no idea what would happen if rsync requests device special files on NTFS.

    If you're trying to sync over a web folder without any odd names and where the ownership/permission isn't a big deal, it should work pretty well. If you're trying to sync a linux root filesystem and want to preserve all the devices and permissions, I think rsync onto windows may be more of a problem.



    Another approach would be to run a linux VM inside the windows server. Then you could configure the VM as you want. If the only thing it does is some off-hours file transfer, and you have plenty of RAM, it shouldn't affect the performance of the windows server much at all.






    share|improve this answer













    Cygwin has openssh (client and server) and rsync, so you can certainly use that to create an rsync target just about the same as you would on linux.



    My main worry would be filesystem issues. Rsync attempts to sync metadata, not capture it in a separate location (like tar or zip would do). That means where the metadata is not compatible with the target filesystem, you'll have problems.



    • Users may not be the same on both machines

    • NTFS filenames have more restrictions than most linux filesystems.

    • I have no idea what would happen if rsync requests device special files on NTFS.

    If you're trying to sync over a web folder without any odd names and where the ownership/permission isn't a big deal, it should work pretty well. If you're trying to sync a linux root filesystem and want to preserve all the devices and permissions, I think rsync onto windows may be more of a problem.



    Another approach would be to run a linux VM inside the windows server. Then you could configure the VM as you want. If the only thing it does is some off-hours file transfer, and you have plenty of RAM, it shouldn't affect the performance of the windows server much at all.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Feb 5 at 19:06









    BowlOfRedBowlOfRed

    2,600715




    2,600715












    • The goal is to have a second offsite backup of linux servers. I would be using windows workstations, just because they are on most of the time, so any night they are unused and could be left synchronizing data. I want to sync user folders, cpanel accounts which contain websites, emails and other stuff. Can I mount the partition in a way that the metadata can be preserved? Or is that not a concern?

      – BlunT
      Feb 5 at 20:38

















    • The goal is to have a second offsite backup of linux servers. I would be using windows workstations, just because they are on most of the time, so any night they are unused and could be left synchronizing data. I want to sync user folders, cpanel accounts which contain websites, emails and other stuff. Can I mount the partition in a way that the metadata can be preserved? Or is that not a concern?

      – BlunT
      Feb 5 at 20:38
















    The goal is to have a second offsite backup of linux servers. I would be using windows workstations, just because they are on most of the time, so any night they are unused and could be left synchronizing data. I want to sync user folders, cpanel accounts which contain websites, emails and other stuff. Can I mount the partition in a way that the metadata can be preserved? Or is that not a concern?

    – BlunT
    Feb 5 at 20:38





    The goal is to have a second offsite backup of linux servers. I would be using windows workstations, just because they are on most of the time, so any night they are unused and could be left synchronizing data. I want to sync user folders, cpanel accounts which contain websites, emails and other stuff. Can I mount the partition in a way that the metadata can be preserved? Or is that not a concern?

    – BlunT
    Feb 5 at 20:38













    0














    rsnapshot.conf



    #################################################
    # rsnapshot.conf - rsnapshot configuration file #
    #################################################

    config_version 1.2

    # All snapshots will be stored under this root directory.
    #
    # what ron uses

    snapshot_root /bkup/private/

    # If no_create_root is enabled, rsnapshot will not automatically create the
    # snapshot_root directory. This is particularly useful if you are backing
    # up to removable media, such as a FireWire or USB drive.
    #
    no_create_root 1

    #################################
    # EXTERNAL PROGRAM DEPENDENCIES #
    #################################

    # LINUX USERS: Be sure to uncomment "cmd_cp". This gives you extra features.
    # EVERYONE ELSE: Leave "cmd_cp" commented out for compatibility.
    #
    # See the README file or the man page for more details.
    #
    cmd_cp /bin/cp

    # uncomment this to use the rm program instead of the built-in perl routine.
    #
    cmd_rm /bin/rm

    # rsync must be enabled for anything to work. This is the only command that
    # must be enabled.
    #
    cmd_rsync /usr/bin/rsync

    # Uncomment this to enable remote ssh backups over rsync.
    #
    #cmd_ssh /usr/bin/ssh

    # Comment this out to disable syslog support.
    #
    cmd_logger /bin/logger

    # Uncomment this...
    # Uncomment that...

    #########################################
    # BACKUP LEVELS / INTERVALS #
    # Must be unique and in ascending order #
    # e.g. alpha, beta, gamma, etc. #
    #########################################

    # retain alpha 6
    # retain beta 7
    # retain gamma 4
    # retain delta 3

    # what ron uses, daily non-incremental backup via cron at 2am,
    # crontab entry: * 2 * * * /usr/local/bin/rsnapshot daily

    retain daily 1

    ############################################
    # GLOBAL OPTIONS #
    # All are optional, with sensible defaults #
    ############################################

    # Verbose level, 1 through 5.
    # 1 Quiet Print fatal errors only
    # 2 Default Print errors and warnings only
    # 3 Verbose Show equivalent shell commands being executed
    # 4 Extra Verbose Show extra verbose information
    # 5 Debug mode Everything
    #
    verbose 2

    # Same as "verbose" above, but controls the amount of data sent to the
    # logfile, if one is being used. The default is 3.
    #
    loglevel 3

    # If you enable this, data will be written to the file you specify. The
    # amount of data written is controlled by the "loglevel" parameter.
    #
    logfile /var/log/rsnapshot

    [... bunch of stuff removed to post on stackexchange easier...]

    ###############################
    ### BACKUP POINTS / SCRIPTS ###
    ###############################

    # LOCALHOST
    # backup /home/ localhost/
    # backup /etc/ localhost/
    # backup /usr/local/ localhost/
    # backup /var/log/rsnapshot localhost/
    # backup /etc/passwd localhost/
    # backup /home/foo/My Documents/ localhost/
    # backup /foo/bar/ localhost/ one_fs=1, rsync_short_args=-urltvpog
    # backup_script /usr/local/bin/backup_pgsql.sh localhost/postgres/
    # You must set linux_lvm_* parameters below before using lvm snapshots
    # backup lvm://vg0/xen-home/ lvm-vg0/xen-home/

    # EXAMPLE.COM
    # backup_exec /bin/date "+ backup of example.com started at %c"
    # backup root@example.com:/home/ example.com/ +rsync_long_args=--bwlimit=16,exclude=core
    # backup root@example.com:/etc/ example.com/ exclude=mtab,exclude=core
    # backup_exec ssh root@example.com "mysqldump -A > /var/db/dump/mysql.sql"
    # backup root@example.com:/var/db/dump/ example.com/
    # backup_exec /bin/date "+ backup of example.com ended at %c"

    # CVS.SOURCEFORGE.NET
    # backup_script /usr/local/bin/backup_rsnapshot_cvsroot.sh rsnapshot.cvs.sourceforge.net/

    # RSYNC.SAMBA.ORG
    # backup rsync://rsync.samba.org/rsyncftp/ rsync.samba.org/rsyncftp/

    # what ron uses, very simple, local disks
    # /data is /dev/sdb1 an N tb drive
    # snapshot root folder /bkup is /dev/sdc1 an n tb volume
    # this will copy everything under /data to /bkup/private/mybackup/

    backup /data mybackup/


    If you set up a service and I think SSH is the preferred but it could be RSH or others, it's as simple as copy from source to destination via tailoring the rsnapshot.conf file.



    https://wiki.archlinux.org/index.php/Rsnapshot



    https://rsnapshot.org/



    http://www.mikerubel.org/computers/rsync_snapshots/




    rsnapshot is a filesystem snapshot utility based on rsync. rsnapshot makes it easy to make periodic snapshots of local machines, and remote machines over ssh. The code makes extensive use of hard links whenever possible, to greatly reduce the disk space required. Rsnapshot is written entirely in perl with no module dependencies, and has been tested with versions 5.004 through 5.16.3. It should work on any reasonably modern UNIX compatible OS.




    rsnapshot is great if installed on linux, and when backing up from source to destination where source is basically anything mounted on linux. Realize mounted on linux does not need to be local disks.






    share|improve this answer



























      0














      rsnapshot.conf



      #################################################
      # rsnapshot.conf - rsnapshot configuration file #
      #################################################

      config_version 1.2

      # All snapshots will be stored under this root directory.
      #
      # what ron uses

      snapshot_root /bkup/private/

      # If no_create_root is enabled, rsnapshot will not automatically create the
      # snapshot_root directory. This is particularly useful if you are backing
      # up to removable media, such as a FireWire or USB drive.
      #
      no_create_root 1

      #################################
      # EXTERNAL PROGRAM DEPENDENCIES #
      #################################

      # LINUX USERS: Be sure to uncomment "cmd_cp". This gives you extra features.
      # EVERYONE ELSE: Leave "cmd_cp" commented out for compatibility.
      #
      # See the README file or the man page for more details.
      #
      cmd_cp /bin/cp

      # uncomment this to use the rm program instead of the built-in perl routine.
      #
      cmd_rm /bin/rm

      # rsync must be enabled for anything to work. This is the only command that
      # must be enabled.
      #
      cmd_rsync /usr/bin/rsync

      # Uncomment this to enable remote ssh backups over rsync.
      #
      #cmd_ssh /usr/bin/ssh

      # Comment this out to disable syslog support.
      #
      cmd_logger /bin/logger

      # Uncomment this...
      # Uncomment that...

      #########################################
      # BACKUP LEVELS / INTERVALS #
      # Must be unique and in ascending order #
      # e.g. alpha, beta, gamma, etc. #
      #########################################

      # retain alpha 6
      # retain beta 7
      # retain gamma 4
      # retain delta 3

      # what ron uses, daily non-incremental backup via cron at 2am,
      # crontab entry: * 2 * * * /usr/local/bin/rsnapshot daily

      retain daily 1

      ############################################
      # GLOBAL OPTIONS #
      # All are optional, with sensible defaults #
      ############################################

      # Verbose level, 1 through 5.
      # 1 Quiet Print fatal errors only
      # 2 Default Print errors and warnings only
      # 3 Verbose Show equivalent shell commands being executed
      # 4 Extra Verbose Show extra verbose information
      # 5 Debug mode Everything
      #
      verbose 2

      # Same as "verbose" above, but controls the amount of data sent to the
      # logfile, if one is being used. The default is 3.
      #
      loglevel 3

      # If you enable this, data will be written to the file you specify. The
      # amount of data written is controlled by the "loglevel" parameter.
      #
      logfile /var/log/rsnapshot

      [... bunch of stuff removed to post on stackexchange easier...]

      ###############################
      ### BACKUP POINTS / SCRIPTS ###
      ###############################

      # LOCALHOST
      # backup /home/ localhost/
      # backup /etc/ localhost/
      # backup /usr/local/ localhost/
      # backup /var/log/rsnapshot localhost/
      # backup /etc/passwd localhost/
      # backup /home/foo/My Documents/ localhost/
      # backup /foo/bar/ localhost/ one_fs=1, rsync_short_args=-urltvpog
      # backup_script /usr/local/bin/backup_pgsql.sh localhost/postgres/
      # You must set linux_lvm_* parameters below before using lvm snapshots
      # backup lvm://vg0/xen-home/ lvm-vg0/xen-home/

      # EXAMPLE.COM
      # backup_exec /bin/date "+ backup of example.com started at %c"
      # backup root@example.com:/home/ example.com/ +rsync_long_args=--bwlimit=16,exclude=core
      # backup root@example.com:/etc/ example.com/ exclude=mtab,exclude=core
      # backup_exec ssh root@example.com "mysqldump -A > /var/db/dump/mysql.sql"
      # backup root@example.com:/var/db/dump/ example.com/
      # backup_exec /bin/date "+ backup of example.com ended at %c"

      # CVS.SOURCEFORGE.NET
      # backup_script /usr/local/bin/backup_rsnapshot_cvsroot.sh rsnapshot.cvs.sourceforge.net/

      # RSYNC.SAMBA.ORG
      # backup rsync://rsync.samba.org/rsyncftp/ rsync.samba.org/rsyncftp/

      # what ron uses, very simple, local disks
      # /data is /dev/sdb1 an N tb drive
      # snapshot root folder /bkup is /dev/sdc1 an n tb volume
      # this will copy everything under /data to /bkup/private/mybackup/

      backup /data mybackup/


      If you set up a service and I think SSH is the preferred but it could be RSH or others, it's as simple as copy from source to destination via tailoring the rsnapshot.conf file.



      https://wiki.archlinux.org/index.php/Rsnapshot



      https://rsnapshot.org/



      http://www.mikerubel.org/computers/rsync_snapshots/




      rsnapshot is a filesystem snapshot utility based on rsync. rsnapshot makes it easy to make periodic snapshots of local machines, and remote machines over ssh. The code makes extensive use of hard links whenever possible, to greatly reduce the disk space required. Rsnapshot is written entirely in perl with no module dependencies, and has been tested with versions 5.004 through 5.16.3. It should work on any reasonably modern UNIX compatible OS.




      rsnapshot is great if installed on linux, and when backing up from source to destination where source is basically anything mounted on linux. Realize mounted on linux does not need to be local disks.






      share|improve this answer

























        0












        0








        0







        rsnapshot.conf



        #################################################
        # rsnapshot.conf - rsnapshot configuration file #
        #################################################

        config_version 1.2

        # All snapshots will be stored under this root directory.
        #
        # what ron uses

        snapshot_root /bkup/private/

        # If no_create_root is enabled, rsnapshot will not automatically create the
        # snapshot_root directory. This is particularly useful if you are backing
        # up to removable media, such as a FireWire or USB drive.
        #
        no_create_root 1

        #################################
        # EXTERNAL PROGRAM DEPENDENCIES #
        #################################

        # LINUX USERS: Be sure to uncomment "cmd_cp". This gives you extra features.
        # EVERYONE ELSE: Leave "cmd_cp" commented out for compatibility.
        #
        # See the README file or the man page for more details.
        #
        cmd_cp /bin/cp

        # uncomment this to use the rm program instead of the built-in perl routine.
        #
        cmd_rm /bin/rm

        # rsync must be enabled for anything to work. This is the only command that
        # must be enabled.
        #
        cmd_rsync /usr/bin/rsync

        # Uncomment this to enable remote ssh backups over rsync.
        #
        #cmd_ssh /usr/bin/ssh

        # Comment this out to disable syslog support.
        #
        cmd_logger /bin/logger

        # Uncomment this...
        # Uncomment that...

        #########################################
        # BACKUP LEVELS / INTERVALS #
        # Must be unique and in ascending order #
        # e.g. alpha, beta, gamma, etc. #
        #########################################

        # retain alpha 6
        # retain beta 7
        # retain gamma 4
        # retain delta 3

        # what ron uses, daily non-incremental backup via cron at 2am,
        # crontab entry: * 2 * * * /usr/local/bin/rsnapshot daily

        retain daily 1

        ############################################
        # GLOBAL OPTIONS #
        # All are optional, with sensible defaults #
        ############################################

        # Verbose level, 1 through 5.
        # 1 Quiet Print fatal errors only
        # 2 Default Print errors and warnings only
        # 3 Verbose Show equivalent shell commands being executed
        # 4 Extra Verbose Show extra verbose information
        # 5 Debug mode Everything
        #
        verbose 2

        # Same as "verbose" above, but controls the amount of data sent to the
        # logfile, if one is being used. The default is 3.
        #
        loglevel 3

        # If you enable this, data will be written to the file you specify. The
        # amount of data written is controlled by the "loglevel" parameter.
        #
        logfile /var/log/rsnapshot

        [... bunch of stuff removed to post on stackexchange easier...]

        ###############################
        ### BACKUP POINTS / SCRIPTS ###
        ###############################

        # LOCALHOST
        # backup /home/ localhost/
        # backup /etc/ localhost/
        # backup /usr/local/ localhost/
        # backup /var/log/rsnapshot localhost/
        # backup /etc/passwd localhost/
        # backup /home/foo/My Documents/ localhost/
        # backup /foo/bar/ localhost/ one_fs=1, rsync_short_args=-urltvpog
        # backup_script /usr/local/bin/backup_pgsql.sh localhost/postgres/
        # You must set linux_lvm_* parameters below before using lvm snapshots
        # backup lvm://vg0/xen-home/ lvm-vg0/xen-home/

        # EXAMPLE.COM
        # backup_exec /bin/date "+ backup of example.com started at %c"
        # backup root@example.com:/home/ example.com/ +rsync_long_args=--bwlimit=16,exclude=core
        # backup root@example.com:/etc/ example.com/ exclude=mtab,exclude=core
        # backup_exec ssh root@example.com "mysqldump -A > /var/db/dump/mysql.sql"
        # backup root@example.com:/var/db/dump/ example.com/
        # backup_exec /bin/date "+ backup of example.com ended at %c"

        # CVS.SOURCEFORGE.NET
        # backup_script /usr/local/bin/backup_rsnapshot_cvsroot.sh rsnapshot.cvs.sourceforge.net/

        # RSYNC.SAMBA.ORG
        # backup rsync://rsync.samba.org/rsyncftp/ rsync.samba.org/rsyncftp/

        # what ron uses, very simple, local disks
        # /data is /dev/sdb1 an N tb drive
        # snapshot root folder /bkup is /dev/sdc1 an n tb volume
        # this will copy everything under /data to /bkup/private/mybackup/

        backup /data mybackup/


        If you set up a service and I think SSH is the preferred but it could be RSH or others, it's as simple as copy from source to destination via tailoring the rsnapshot.conf file.



        https://wiki.archlinux.org/index.php/Rsnapshot



        https://rsnapshot.org/



        http://www.mikerubel.org/computers/rsync_snapshots/




        rsnapshot is a filesystem snapshot utility based on rsync. rsnapshot makes it easy to make periodic snapshots of local machines, and remote machines over ssh. The code makes extensive use of hard links whenever possible, to greatly reduce the disk space required. Rsnapshot is written entirely in perl with no module dependencies, and has been tested with versions 5.004 through 5.16.3. It should work on any reasonably modern UNIX compatible OS.




        rsnapshot is great if installed on linux, and when backing up from source to destination where source is basically anything mounted on linux. Realize mounted on linux does not need to be local disks.






        share|improve this answer













        rsnapshot.conf



        #################################################
        # rsnapshot.conf - rsnapshot configuration file #
        #################################################

        config_version 1.2

        # All snapshots will be stored under this root directory.
        #
        # what ron uses

        snapshot_root /bkup/private/

        # If no_create_root is enabled, rsnapshot will not automatically create the
        # snapshot_root directory. This is particularly useful if you are backing
        # up to removable media, such as a FireWire or USB drive.
        #
        no_create_root 1

        #################################
        # EXTERNAL PROGRAM DEPENDENCIES #
        #################################

        # LINUX USERS: Be sure to uncomment "cmd_cp". This gives you extra features.
        # EVERYONE ELSE: Leave "cmd_cp" commented out for compatibility.
        #
        # See the README file or the man page for more details.
        #
        cmd_cp /bin/cp

        # uncomment this to use the rm program instead of the built-in perl routine.
        #
        cmd_rm /bin/rm

        # rsync must be enabled for anything to work. This is the only command that
        # must be enabled.
        #
        cmd_rsync /usr/bin/rsync

        # Uncomment this to enable remote ssh backups over rsync.
        #
        #cmd_ssh /usr/bin/ssh

        # Comment this out to disable syslog support.
        #
        cmd_logger /bin/logger

        # Uncomment this...
        # Uncomment that...

        #########################################
        # BACKUP LEVELS / INTERVALS #
        # Must be unique and in ascending order #
        # e.g. alpha, beta, gamma, etc. #
        #########################################

        # retain alpha 6
        # retain beta 7
        # retain gamma 4
        # retain delta 3

        # what ron uses, daily non-incremental backup via cron at 2am,
        # crontab entry: * 2 * * * /usr/local/bin/rsnapshot daily

        retain daily 1

        ############################################
        # GLOBAL OPTIONS #
        # All are optional, with sensible defaults #
        ############################################

        # Verbose level, 1 through 5.
        # 1 Quiet Print fatal errors only
        # 2 Default Print errors and warnings only
        # 3 Verbose Show equivalent shell commands being executed
        # 4 Extra Verbose Show extra verbose information
        # 5 Debug mode Everything
        #
        verbose 2

        # Same as "verbose" above, but controls the amount of data sent to the
        # logfile, if one is being used. The default is 3.
        #
        loglevel 3

        # If you enable this, data will be written to the file you specify. The
        # amount of data written is controlled by the "loglevel" parameter.
        #
        logfile /var/log/rsnapshot

        [... bunch of stuff removed to post on stackexchange easier...]

        ###############################
        ### BACKUP POINTS / SCRIPTS ###
        ###############################

        # LOCALHOST
        # backup /home/ localhost/
        # backup /etc/ localhost/
        # backup /usr/local/ localhost/
        # backup /var/log/rsnapshot localhost/
        # backup /etc/passwd localhost/
        # backup /home/foo/My Documents/ localhost/
        # backup /foo/bar/ localhost/ one_fs=1, rsync_short_args=-urltvpog
        # backup_script /usr/local/bin/backup_pgsql.sh localhost/postgres/
        # You must set linux_lvm_* parameters below before using lvm snapshots
        # backup lvm://vg0/xen-home/ lvm-vg0/xen-home/

        # EXAMPLE.COM
        # backup_exec /bin/date "+ backup of example.com started at %c"
        # backup root@example.com:/home/ example.com/ +rsync_long_args=--bwlimit=16,exclude=core
        # backup root@example.com:/etc/ example.com/ exclude=mtab,exclude=core
        # backup_exec ssh root@example.com "mysqldump -A > /var/db/dump/mysql.sql"
        # backup root@example.com:/var/db/dump/ example.com/
        # backup_exec /bin/date "+ backup of example.com ended at %c"

        # CVS.SOURCEFORGE.NET
        # backup_script /usr/local/bin/backup_rsnapshot_cvsroot.sh rsnapshot.cvs.sourceforge.net/

        # RSYNC.SAMBA.ORG
        # backup rsync://rsync.samba.org/rsyncftp/ rsync.samba.org/rsyncftp/

        # what ron uses, very simple, local disks
        # /data is /dev/sdb1 an N tb drive
        # snapshot root folder /bkup is /dev/sdc1 an n tb volume
        # this will copy everything under /data to /bkup/private/mybackup/

        backup /data mybackup/


        If you set up a service and I think SSH is the preferred but it could be RSH or others, it's as simple as copy from source to destination via tailoring the rsnapshot.conf file.



        https://wiki.archlinux.org/index.php/Rsnapshot



        https://rsnapshot.org/



        http://www.mikerubel.org/computers/rsync_snapshots/




        rsnapshot is a filesystem snapshot utility based on rsync. rsnapshot makes it easy to make periodic snapshots of local machines, and remote machines over ssh. The code makes extensive use of hard links whenever possible, to greatly reduce the disk space required. Rsnapshot is written entirely in perl with no module dependencies, and has been tested with versions 5.004 through 5.16.3. It should work on any reasonably modern UNIX compatible OS.




        rsnapshot is great if installed on linux, and when backing up from source to destination where source is basically anything mounted on linux. Realize mounted on linux does not need to be local disks.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 5 at 21:39









        ronron

        1,0841815




        1,0841815



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f498836%2fbackup-remote-linux-server-to-windows%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown






            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay