Amanda-Users

Re: Space in directory name

2008-09-29 09:19:16
Subject: Re: Space in directory name
From: Jean-Louis Martineau <martineau AT zmanda DOT com>
To: Hans Sandsdalen <hans AT spacetec DOT no>
Date: Mon, 29 Sep 2008 08:42:25 -0400
Hans Sandsdalen wrote:
Hi

I use amanda 2.4.4p3 and have a problem with a space (" ") in a
directory name in a disklist. How do I specify a directory name with a
space in it?

You can't, newer version can do it easily.

Easiest solution is to create a simlink:
 cd /disk1/vmuser
 ln -s Virtual\ Machines/puck Virtual_Machines/puck
 and backup "/disk1/vmuser/Virtual_Machines/puck"

New newer release, you can do:
  host "/disk1/vmuser/Virtual Machines/puck" comp-user-tar

Jean-Louis
I have a directory called "/disk1/vmuser/Virtual Machines/puck" on a
host, and I try with

        host /disk1/vmuser/Virtual_Machines/puck comp-user-tar

in the diskelist. A result from amcheck -c CONFIG:


Amanda Backup Client Hosts Check
--------------------------------
ERROR: host: [Can't open exclude file 'Machines/puck/.exclude': No such
file or directory]
ERROR: host: [could not access Machines/puck (/disk1/vmuser/Virtual): No
such file or directory]
ERROR: host: [Can't open exclude file
'/home/Virtual-Machines/kastra/.exclude': No such file or directory]
Client check: 1 host checked in 0.018 seconds, 3 problems found

(brought to you by Amanda 2.4.4p3)



<Prev in Thread] Current Thread [Next in Thread>