New Backup feature 1.384 is awsome

Nerigal

Verified User
Joined
Jul 6, 2009
Messages
124
hi,

i just want to say a big thanks to Directadmin peoples about the new feature backup_gzip=0

ive asked by the pass a way to none-compress backup to gain speed knowing this is kinda "contradictious" but here is the result of this.

backuping 1 of my server in tar.gz 95.6 Go total start at 1:55 AM end at 6:32 AM

backuping the same server as tar no gz -> 116.5 Go total start at 1:55 AM end at 4:36 AM

assume a Gbps local network able to transmit 200 Go+ per hour

but well thanks a lot because this simple feature help very much around here

thanks again. :)
 
I see, im thinkin about complete local backup and rsynced remote.. and.. like once a month move a complete one remotly.

Regards
 
We're looking for a solution for moving a backup between systems, over the Internet. Anyone have experience with rsync through an encrypted tunnel so the backups can't be read while moving across the 'net?

Thanks.

Jeff
 
We're looking for a solution for moving a backup between systems, over the Internet. Anyone have experience with rsync through an encrypted tunnel so the backups can't be read while moving across the 'net?

Thanks.

Jeff

rsync ties in very easily with ssh, simply add
Code:
 -e ssh user@remotehost:/dir /this/dir/
to your normal rsync command.
You can also utilize ssh keys to automate the process.
 
-e ssh isnt needed at all...

all you need is:

rsync -aqz --delete --update /path/to/files user@host:/folder

Then make sure you setup your shared key too.
 
@scsi:

Thanks, scsi. The last time I tried rsync I ended up changing the username on all my source files; I probably did something very wrong.

What I don't see in your example is how rsync chooses between rsh and ssh, since the system I'm trying to backup has both. My man file says it will use one or the other if there's a single : character, but I don't see how it decides which to use; I don't have an rsync configuration file anywhere except /etc/default/rsync, and it doesn't have any entry for the choice.

I'm trying to back up a business kubuntu desktop to one of our backup systems in our datacenter.

Any idea how it can tell?

Thanks.

Jeff
 
Thanks, everyone who's helped so far. I know my specific use is off-topic, but I'm thinking that the general replies are still helpful to those using rsync. If you think otherwise let me know and I'll split the topic.

Thanks.

Jeff
 
is how rsync chooses between rsh and ssh

Isn't it chosen from /etc/passwd on the remote system? For a specified user, with which name you're accessing the server with rsync?

We do remote backups over the Internet, but we use SFTP. And use rsync between local servers to get all backups on one server before encoding them and transferring them over the Internet.
 
Isn't it chosen from /etc/passwd on the remote system? For a specified user, with which name you're accessing the server with rsync?
I don't see how it could do that: it would need to know what protocol to use to just get to the /etc/passwd file on the remote system.

And /etc/passwd only shows the local shell; either ssh or rsh would still need to connect to the local shell.

Jeff
 
More info on rsync is great, keep it coming...as large backups are also an issue for me as well.
 
@Jeff,

OK, are we talking about the same things? I guess no. We are using rsync over SSH.

I meant as soon as rsync is connected to a remote server with SSH, it uses a shell which is set for particular user, whose credentials we are using in order to get access to the remote server; and rsync does the syncing.

If you want rsh, you might need to use it as

Code:
rsync --rsh=rsh

or

Code:
rsync -e rsh

You can specify the remote shell to use the way (shown above).
 
I just want to make sure that rsync is using ssh. How do I know that? Do I use a specific switch?

I couldn't find a switch mentioned in the man file.

But now I just found this:
Once installed, you can use rsync to any machine that you can access via a remote shell (as well as some that you can access using the rsync daemon-mode protocol). For remote transfers, a modern rsync uses ssh for its communications, but it may have been configured to use a different remote shell by default, such as rsh or remsh.

Thanks.

Jeff
 
I did see it. And when scsi posted that it wasn't necessary is when my confusion began. However, see my post immediately above and you'll see I finally found the lines in the man file what explained it to me. Thanks. My issue is now resolved.

:)

Jeff
 
Back
Top