日本語のみで絞り込む
2016/1/10 -At first, this passes the password to the ssh client's sudo process in order to start rsync on the remote side. Next all input coming from the ...
2011/4/14 -If you want to narrow down sudo permissions, specify rsh='ssh -v' as explained in this answer, then copy the log starting with debug1: Sending ...
2023/7/16 -The magic words here are --rsync-path="sudo rsync" . This flag specifies the path for the rsync executable on the remote machine. By using sudo ...
2025/6/23 -It's possible to make rsync use sudo on both ends of the transfer, meaning that in combination with the -a flag, ownership and permissions are ...
2018/2/26 -You can specify the command to use to run rsync on the remote end with the --rsync-path option, and that command can be sudo with options.
2010/4/28 -The user you run as on both servers will need passwordless* sudo access to the rsync binary, but you do NOT need to enable ssh login as root ...
Q.UNIXのCUIで、rsyncを使用しファイルの同期をとりたいのですが、 ファイル名に`(バッククォーテション)を使用しているとコピーが完了しません。 打っているコマンドは以下です。 sudo ...
A.シェル上では、ダブルクオートは、空白などの文字列を想定する場合です。しかし、同時に文字列を展開してしまいます。バッククオートは特別な意味として解釈されます。コマンドの実行を意味します。ですから、...
Q.1TBの内臓HDDを2つをlinuxから外付けHDD(2TB)へバックアップを取りたいのですが、このrsyncコマンドであってますか? 1週間に1回、0時に自動でバックアップを取りたいんです。 su
A.パッと見た感じ、-eが不要なくらいしかおかしな点はないと思います。 あとは、/media/BUFFALOExternalHDDが確実にマウントされているものかどうか、そのマウントはUUIDで行...
2015/8/4 -Using rsync normally is nice and straightforward. e.g.: # rsync -av -e 'ssh' /some/local/path user@remote:/some/remote/path.
2022/2/13 -First, try not using sudo before rsync, because sudo uses your root user's ssh key, which probably doesn't exist. Following that, if that doesn' ...
2024/1/17 -By prefixing this with sudo , we can now write into the directory: $ rsync --rsync-path="sudo rsync" --rsh "ssh -i ~/.ssh/my_ssh_key" nginx ...
2014/6/5 -Copy your own SSH keys to root's .ssh directory. (Make sure you don't overwrite any existing keys!) Give your own user write access ...