Questions tagged [remote-backup]

58 questions
23
votes
4 answers

Resuming rsync partial (-P/--partial) on an interrupted transfer

I am trying to backup my file server to a remove file server using rsync. Rsync is not successfully resuming when a transfer is interrupted. I used the partial option but rsync doesn't find the file it already started because it renames it to a…
Glitches
  • 742
  • 2
  • 8
  • 18
15
votes
2 answers

Extract a specific folder to specific directory from a tar.gz

I have searched and found how to the two portions of what I want but nothing that would allow you to do it in whole.... What I would like to do is extract a specific folder from a tar.gz to another folder in a different path that how it is in the…
Yevgen
  • 767
  • 2
  • 9
  • 22
11
votes
6 answers

Specify password to sftp in a Bash script

I am trying to write a script to back up a file over SFTP. The problem is, it requires a password, and I see no way to manually specify a password to SFTP. I've heard about requiring no password by using public keys, but that requires being able to…
Eli
  • 636
  • 2
  • 7
  • 17
7
votes
3 answers

Creating an Amazon EC2 Backup solution to Amazon S3

I currently use Amazon S3 as a backup location for my local machines - Primarily using JungleDisk to backup nightly all my local files to my S3 account. I have been looking at creating a more intelligent backup solution for remote files - Websites…
Geniuswood
  • 95
  • 1
  • 1
  • 6
4
votes
1 answer

Backup server to local file with FirebirdSql.Data.Services.FbBackup

I'm trying to use following code to backup a database located on a remote server on which I do NOT have write permission : FbBackup backupSvc = new FbBackup(); backupSvc.ConnectionString = ConnectionStr; // on remote…
neggenbe
  • 1,697
  • 2
  • 24
  • 62
3
votes
1 answer

Offsite backup from a timemachine capsule

How can I create a (secondary) backup to a offsite location of a timemachine backup residing on a apple timecapsule? Possible destinations are Amazon S3, Mosso Cloud Files, Generic SSH/SCP servers, ...
Michael Locher
  • 165
  • 2
  • 10
3
votes
1 answer

How to include GitHub issues & PRs in API-triggered repo import into GitLab?

Many academic organizations are present as such on GitHub, but may also have a self-hosted GitLab CE instance. In order to automatically and fully backup the former onto the latter, they may want to run some kind of script that triggers their GitLab…
3
votes
1 answer

Applying ZFS snapshot to a non-ZFS FS

So this is a bit of a question of theory as well as specific (temporary use case) Two servers are to be in sync of each other. One On-Site, the other an Off-Site backup. However, the Off-Site should have the data duplicated and accessible if…
Tom
  • 33
  • 4
3
votes
1 answer

Elastic search snapshot and restore with type as url

I want to take snapshot of an index present in my local, and save the snapshot at some remote location i.e. another machine. How can I use elastic search snapshot functionality for this?
user3876291
  • 89
  • 2
  • 11
3
votes
1 answer

Create and update archive over ssh on local machine

I am trying to find a way to create and update a tar archive of files on a remote system where we don't have write permissions (the remote file system is read only) over ssh. I've figured out that the way to create a archive is, ssh…
Bootstrapper
  • 1,089
  • 3
  • 14
  • 33
2
votes
1 answer

rsync -option explaination?

I've seen the switches below on an rsync script and I just wondered if someone could break them down for me... rsync --chmod=ugo=rwX ugo? rwX (read-write-Execute - why the capitalisation on Execute?) --chmod=CHMOD affect file and/or…
Jason
  • 607
  • 3
  • 9
  • 25
2
votes
1 answer

SQL Server 2005 full database backup to disk

I'm trying to do a full backup of my database by entering the following: BACKUP DATABASE 10997_diamondtransportinccom TO DISK = 'D:\10997diamond.BAK'; But it gives me the following error: Msg 102, Level 15, State 1, Line 1 Incorrect syntax near…
sony
  • 21
  • 2
2
votes
1 answer

Is there a standard for remote backup file change detection?

I'm going to have a need for an efficient remote change detection algorithm for backup of an ordinary filesystem. The files are backed up to a remote machine and bandwidth is at a premium, so it's going to be difficult to compare files. I've…
jnm2
  • 7,960
  • 5
  • 61
  • 99
2
votes
1 answer

How to secure mongodump to make backup from remote machine?

I have mongod instance running on 1.2.3.4 for example and have another backup server on 100.90.80.1. I need to make backup mongodb data from 1.2.3.4 to 100.90.80.1 with the following bash script: #!/bin/bash set…
Erik
  • 14,060
  • 49
  • 132
  • 218
2
votes
2 answers

Copying data from STDOUT to a remote machine using SFTP

In order to backup large database partitions to a remote machine using SFTP, I'd like to use the databases dump command and send it directly over using SFTP to a remote location. This is useful when needing to dump large data sets when you don't…
freddie
  • 97
  • 2
  • 9
1
2 3 4