Re: Space in directory name

2008-09-29 Thread Jean-Louis Martineau

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)

  




Space in directory name

2008-09-29 Thread Hans Sandsdalen
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?

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)

-- 
mvh Hans Sandsdalen
-- HANS = High Availability, No Superman --
http://www.spacetec.no
begin:vcard
fn:Hans  Sandsdalen
n:Sandsdalen;Hans 
org:Kongsberg Spacetec;Drift
adr;quoted-printable:;;Prestvannvegen 38;Troms=C3=B8;;9292;Norge
email;internet:[EMAIL PROTECTED]
title:System Manager
tel;cell:97762632
x-mozilla-html:FALSE
url:http://www.spacetec.no
version:2.1
end:vcard