©XSIBackup-Free: Free Backup Software for ©VMWare ©ESXi

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 Re: General matters » How to change datastore with spaces » 2017-10-04 14:46:46

Well, I managed to answer PARTIALLY, by using the vSphere client to change datastore and vm names, but I am still left with lots of file names with spaces.  For example:

[root@il-esxi-01:~] ls -l /vmfs/volumes/Releng_2/il-retools/
total 692279312
-rw-------    1 root     root     6442450944 Aug 25 00:50 releng tools-03c76a88.vswp
-rw-------    1 root     root     1099511627776 Oct  4 14:46 releng tools-flat.vmdk
-rw-------    1 root     root          8684 Aug 25 06:00 releng tools.nvram
-rw-------    1 root     root           536 Jul 15  2016 releng tools.vmdk
-rw-r--r--    1 root     root             0 Jun 30  2016 releng tools.vmsd
-rwxr-xr-x    1 root     root          3070 Jul 15  2016 releng tools.vmx
-rw-------    1 root     root             0 Jul 15  2016 releng tools.vmx.lck
-rw-------    1 root     root            47 Jun 30  2016 releng tools.vmxf
-rwxr-xr-x    1 root     root          3068 Jul 15  2016 releng tools.vmx~
-rw-r--r--    1 root     root         61560 Jun 30  2016 vmware-1.log
-rw-r--r--    1 root     root        397030 Jun 30  2016 vmware-2.log
-rw-r--r--    1 root     root        205121 Jul  1  2016 vmware-3.log
-rw-r--r--    1 root     root        325801 Jul 15  2016 vmware-4.log
-rw-r--r--    1 root     root        667921 Aug 25 06:03 vmware.log
-rw-------    1 root     root     180355072 Jul 15  2016 vmx-releng tools-63400584-1.vswp
[root@il-esxi-01:~]

As you can see, the datastore name (symlink) and the top level vm name no longer have spaces, but the filenames under the vm directory still do.  Will this be OK for XSIBackup?

#2 General matters » How to change datastore with spaces » 2017-10-04 14:38:37

Mark Warren
Replies: 2

I've read that in order to use XSIBackup, datastore and vm names cannot have spaces, and unfortunately I have many of them.  What do I need to do to change them?  Here is a sample of what I am dealing with:

[root@il-esxi-01:~] ls -l /vmfs/volumes
total 4096
drwxr-xr-x    1 root     root             8 Jan  1  1970 04b5e77f-ff0f4574-2ba8-54b14a8e874f
drwxr-xr-x    1 root     root             8 Jan  1  1970 42c15c7d-ce0a347f-7629-17dbbc9397ea
drwxr-xr-x    1 root     root             8 Jan  1  1970 5756220e-4ba28a98-2457-3ca82a223f24
drwxr-xr-t    1 root     root          1260 Jun  7  2016 57562219-128cce58-dddf-3ca82a223f24
drwxr-xr-x    1 root     root             8 Jan  1  1970 5756221a-9745f560-3326-3ca82a223f24
drwxr-xr-t    1 root     root          2800 Aug 11 18:50 575f022a-8b18e798-d883-3ca82a223f24
drwxr-xr-t    1 root     root          2240 Aug 11 12:42 575f0251-54eb47f8-eed0-3ca82a223f24
lrwxr-xr-x    1 root     root            35 Oct  4 14:38 Releng 1 -> 575f022a-8b18e798-d883-3ca82a223f24
lrwxr-xr-x    1 root     root            35 Oct  4 14:38 Releng 2 -> 575f0251-54eb47f8-eed0-3ca82a223f24
lrwxr-xr-x    1 root     root            35 Oct  4 14:38 datastore1 -> 57562219-128cce58-dddf-3ca82a223f24

Is there a problem with the symlink names "releng 1" and Releng 2", or are spaces there OK?

Next level lower than this, I have (one example):

[root@il-esxi-01:~] ls -l /vmfs/volumes/575f0251-54eb47f8-eed0-3ca82a223f24/releng\ tools/
total 692279312
-rw-------    1 root     root     6442450944 Aug 25 00:50 releng tools-03c76a88.vswp
-rw-------    1 root     root     1099511627776 Oct  4 14:43 releng tools-flat.vmdk
-rw-------    1 root     root          8684 Aug 25 06:00 releng tools.nvram
-rw-------    1 root     root           536 Jul 15  2016 releng tools.vmdk
-rw-r--r--    1 root     root             0 Jun 30  2016 releng tools.vmsd
-rwxr-xr-x    1 root     root          3070 Jul 15  2016 releng tools.vmx
-rw-------    1 root     root             0 Jul 15  2016 releng tools.vmx.lck
-rw-------    1 root     root            47 Jun 30  2016 releng tools.vmxf
-rwxr-xr-x    1 root     root          3068 Jul 15  2016 releng tools.vmx~
-rw-r--r--    1 root     root         61560 Jun 30  2016 vmware-1.log
-rw-r--r--    1 root     root        397030 Jun 30  2016 vmware-2.log
-rw-r--r--    1 root     root        205121 Jul  1  2016 vmware-3.log
-rw-r--r--    1 root     root        325801 Jul 15  2016 vmware-4.log
-rw-r--r--    1 root     root        667921 Aug 25 06:03 vmware.log
-rw-------    1 root     root     180355072 Jul 15  2016 vmx-releng tools-63400584-1.vswp
[root@il-esxi-01:~]

So, before trying to use XSIBackup, what is the safe way to re-name all these files and directories without confusing the vSphere or any other vmware utilities?

Board footer