Re: Linking to a Windows Directory - Mandriva
This is a discussion on Re: Linking to a Windows Directory - Mandriva ; David W. Hodgins wrote:
>> On Sun, 13 Jul 2008 20:20:35 -0400, Doug Laidlaw
>> wrote:
>>
>>> Thanks. Â*That is what happens on automatic completion on the command
>>> line, but I hadn't thought laterally.
>>
>> I haven't ...
-
Re: Linking to a Windows Directory
David W. Hodgins wrote:
>> On Sun, 13 Jul 2008 20:20:35 -0400, Doug Laidlaw
>> wrote:
>>
>>> Thanks. Â*That is what happens on automatic completion on the command
>>> line, but I hadn't thought laterally.
>>
>> I haven't used rsnapshot. Â*Does escaping the spaces with backslashes fix
>> the problem?
>>
>> Regards, Dave Hodgins
>>
>No, it didn't. Â*rsnapshot uses rsync + a config file, so whatever works for
>rsync should work. Â*It has its own site at http://rsnapshot.org/ Â*My
>particular question doesn't seem to be covered either in the HOWTO or in
>the FAQ. Â*The "test" flag -t shows that the command is being sent, but the
>files aren't backed up. Â*I tried creating a symlink and telling rsnapshot
>to follow it, but that didn't work, either. Â*I have a separate backup under
>Windows Briefcase, but that is on the same partition. Â*I could move the
>Briefcase to a Flash drive; that seems to be the simplest solution.
>
>Doug.
I just ran rsnapshot from the command line. I have a symbolic link in
my /home directory to "DPS DeathIndex" in my Windows directory. I have set
up rsnapshot to look for "DPS\ DeathIndex" (without the quotes.) The
error message is:
sudo rsnapshot hourly
rsync: link_stat "/home/doug/Files/DPS\" failed: No such file or directory
(2)
rsync: link_stat "/home/doug/DeathIndex" failed: No such file or directory
(2)
IO error encountered -- skipping file deletion.
Doug.
-
Re: Linking to a Windows Directory
On Sun, 17 Aug 2008 04:30:03 -0400, Doug Laidlaw wrote:
> I just ran rsnapshot from the command line. I have a symbolic link in
> my /home directory to "DPS DeathIndex" in my Windows directory. I have set
> up rsnapshot to look for "DPS\ DeathIndex" (without the quotes.) The
> error message is:
Finally got around to testing it. In /etc/rsnapshot.conf I put ...
include "/home/dave/documents/UNIX\ Security\ Checklist\ v2\.0\ \-\ Full\ Version\.mht"
Note there is a tab between the include and the first double quote. All spaces,
dashes, and periods are escaped.
rsnapshot -V hourly
Setting locale to POSIX "C"
echo 21054 > /var/run/rsnapshot.pid
mv /var/mnt/backup/hourly.4/ /var/mnt/backup/hourly.5/
mv /var/mnt/backup/hourly.3/ /var/mnt/backup/hourly.4/
mv /var/mnt/backup/hourly.2/ /var/mnt/backup/hourly.3/
mv /var/mnt/backup/hourly.1/ /var/mnt/backup/hourly.2/
mv /var/mnt/backup/hourly.0/ /var/mnt/backup/hourly.1/
mkdir -m 0755 -p /var/mnt/backup/hourly.0/
/usr/bin/rsync -av --delete --numeric-ids --relative --delete-excluded \
--include="/home/dave/documents/UNIX\ Security\ Checklist\ v2\.0\ \-\ \
Full\ Version\.mht" --exclude=/home/.snapshots \
--link-dest=/var/mnt/backup/hourly.1/localhost/ /var/log/rsnapshot \
/var/mnt/backup/hourly.0/localhost/
sending incremental file list
created directory /var/mnt/backup/hourly.0/localhost
/var/log/rsnapshot
sent 10010 bytes received 34 bytes 20088.00 bytes/sec
total size is 9885 speedup is 0.98
touch /var/mnt/backup/hourly.0/
rm -f /var/run/rsnapshot.pid
/bin/logger -i -p user.info -t rsnapshot /usr/bin/rsnapshot -V hourly: \
completed successfully
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
-
Re: Linking to a Windows Directory
David W. Hodgins wrote:
> On Sun, 17 Aug 2008 04:30:03 -0400, Doug Laidlaw
> wrote:
>
>> I just ran rsnapshot from the command line. I have a symbolic link in
>> my /home directory to "DPS DeathIndex" in my Windows directory. I have
>> set
>> up rsnapshot to look for "DPS\ DeathIndex" (without the quotes.) The
>> error message is:
>
> Finally got around to testing it. In /etc/rsnapshot.conf I put ...
> include "/home/dave/documents/UNIX\ Security\ Checklist\ v2\.0\ \-\ Full\
> Version\.mht"
>
> Note there is a tab between the include and the first double quote. All
> spaces, dashes, and periods are escaped.
>
> rsnapshot -V hourly
> Setting locale to POSIX "C"
> echo 21054 > /var/run/rsnapshot.pid
> mv /var/mnt/backup/hourly.4/ /var/mnt/backup/hourly.5/
> mv /var/mnt/backup/hourly.3/ /var/mnt/backup/hourly.4/
> mv /var/mnt/backup/hourly.2/ /var/mnt/backup/hourly.3/
> mv /var/mnt/backup/hourly.1/ /var/mnt/backup/hourly.2/
> mv /var/mnt/backup/hourly.0/ /var/mnt/backup/hourly.1/
> mkdir -m 0755 -p /var/mnt/backup/hourly.0/
> /usr/bin/rsync -av --delete --numeric-ids --relative --delete-excluded \
> --include="/home/dave/documents/UNIX\ Security\ Checklist\ v2\.0\ \-\
> \ Full\ Version\.mht" --exclude=/home/.snapshots \
> --link-dest=/var/mnt/backup/hourly.1/localhost/ /var/log/rsnapshot \
> /var/mnt/backup/hourly.0/localhost/
> sending incremental file list
> created directory /var/mnt/backup/hourly.0/localhost
> /var/log/rsnapshot
>
> sent 10010 bytes received 34 bytes 20088.00 bytes/sec
> total size is 9885 speedup is 0.98
> touch /var/mnt/backup/hourly.0/
> rm -f /var/run/rsnapshot.pid
> /bin/logger -i -p user.info -t rsnapshot /usr/bin/rsnapshot -V hourly: \
> completed successfully
>
> Regards, Dave Hodgins
>
Thanks Dave.
Doug.