Skip to main content

All Questions

Tagged with
0 votes
0 answers
41 views

Why does rsync not copy the other execute bit when copying to an sshfs mount?

I have a mounted sshfs drive at /mnt/backup_datascrape with permission rwxrwxr-x. I am trying to copy a directory foo with permission rwxrwxr-x to that mount using rsync while preserving the ...
geckels1's user avatar
  • 173
0 votes
1 answer
209 views

Operation not permitted when writing in sshfs

I use image-backup to backup my Rpi. I backup directly on an FTP server and I do so via sshfs. This is how I connect in my /etc/fstab: MYUSERNAME@MYSERVER:/home/myuser/rpi_backup /mnt/MYSERVER fuse....
bernhard's user avatar
2 votes
0 answers
164 views

how to backup remote location containing hard links, without rsync

I want to backup backintime-data from an internet-facing, remote machine running debian 11 (src). That is the hardlinks-part from the title. I want to back it up to a (very dumb) NAS (dest) in the ...
Paul w. Muad'dib's user avatar
1 vote
2 answers
2k views

How to sync two disks - continually?

I have to HDD drives on two different servers that I need to sync regularly. Until now, I've been using rsync over sshfs, first from one to the other, then from the other to the first, but this method ...
OZ1SEJ's user avatar
  • 239
2 votes
1 answer
1k views

Mount sshfs and elevate priviliges (sudo)

I mount a remote directory using sshfs: sshfs myuser@myserver:/ /path/to/mountpoint This works just fine. But I need to acces directories on myserver that are only accessible by root. root login is ...
pLumo's user avatar
  • 23.1k
1 vote
1 answer
2k views

Is there some program that can copy sparse file (/var/log/lastlog) over ssh as fast as cp (on local pc)?

I'm backing ip my server via rsync over ssh but /var/log/lastlog file is 1.2G (it takes only 24K on the hdd). On a local machine cp can copy it for no time (a few ms) but rsync requires reading the ...
FieryRider's user avatar
17 votes
2 answers
11k views

Differences between rsync on remote and rsync local on mounted sshfs?

Is there any difference if I run rsync with remote host (ssh://) as source/destination or use local path to share mounted directory via sshfs? Could there be differences be with regards to security ...
galq's user avatar
  • 188
5 votes
2 answers
6k views

How to make ssh account capabele to only sshfs and rsync?

I'd like to make ssh account that is capable of doing two things: mounting (can be one) directory via sshfs performing backup&recovery of his/her desired directories using rsync I would love to ...
Grzegorz Wierzowiecki's user avatar
5 votes
1 answer
3k views

Fastest file copying within sshfs directory (rsync?)

I have a directory on a remote server remote1, mounted via sshfs. I am installing new versions of some of the files in the remote directory, which are quite large (~50M). I am currently using ...
Mark Perryman's user avatar
1 vote
2 answers
3k views

How do I use my own local text editor to modify system (requires root to save) files on a remote system?

I've recently fallen in love with github's Atom text editor, and I enjoy using it for all my local coding and configuration. I started to maintain a Nagios installation for several dozen servers and ...
Harsha K's user avatar
  • 121
5 votes
2 answers
4k views

creating a device image for a network location

I have a dedicated Ubuntu server with hetzner.de. hetzner also provides a separate backup space accessible via samba/ftp/sftp/scp. In their support document about backups, the following line is ...
vinos's user avatar
  • 53