[OmniOS-discuss] LX Program Issue

Dan McDonald danmcd at omniti.com
Mon Jan 9 20:07:32 UTC 2017


> On Jan 9, 2017, at 12:36 PM, Mini Trader <miniflowtrader at gmail.com> wrote:
> 
> The above was tested with Debian 8.6 SmartOS image.

Hmmm... I wonder if there's a debian image problem or some other sort of issue.  Perhaps the wrong kernel revision?

Here it is on my CentOS 6.8:

[root at lx0 ~]# /tmp/hb backup -c hb ./foo
HashBackup build #1751 Copyright 2009-2017 HashBackup, LLC
Backup directory: /root/hb
Backup start: 2017-01-09 20:04:47
Copied HB program to /root/hb/hb#1751
This is backup version: 0
Dedup not enabled; use -Dmemsize to enable
/root/foo
/root/foo/1
/root/hb/inex.conf

Time: 0.2s
CPU:  0.1s, 57%
Checked: 6 paths, 106 bytes, 106 B
Saved: 6 paths, 106 bytes, 106 B
Excluded: 0
Dupbytes: 0
Space: 144 B, 139 KB total
No errors
[root at lx0 ~]# uname -a
Linux lx0 2.6.32 BrandZ virtual linux x86_64 x86_64 x86_64 GNU/Linux
[root at lx0 ~]# 


Here it is (with more complete output) on a Ubuntu 16 zone:

Last login: Wed Dec 14 21:53:54 UTC 2016 from zone:global on pts/2
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.3.0 x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage
   __        .                   .
 _|  |_      | .-. .  . .-. :--. |-
|_    _|     ;|   ||  |(.-' |  | |
  |__|   `--'  `-' `;-| `-' '  ' `-'
                   /  ;  Instance (Ubuntu 16.04 20161004)
                   `-'   https://docs.joyent.com/images/container-native-linux

root at ubuntu-14-04-b:~# mkdir foo
root at ubuntu-14-04-b:~# echo 1 > foo/1
root at ubuntu-14-04-b:~# echo 2 > foo/2
root at ubuntu-14-04-b:~# /tmp/hb init -c hb
HashBackup build #1751 Copyright 2009-2017 HashBackup, LLC
Backup directory: /root/hb
Permissions set for owner access only
Created key file /root/hb/key.conf
Key file set to read-only
Setting include/exclude defaults: /root/hb/inex.conf

VERY IMPORTANT: your backup is encrypted and can only be accessed with
the encryption key, stored in the file:
    /root/hb/key.conf
You MUST make copies of this file and store them in a secure location,
separate from your computer and backup data.  If your hard drive fails, 
you will need this key to restore your files.  If you setup any
remote destinations in dest.conf, that file should be copied too.
        
Backup directory initialized
root at ubuntu-14-04-b:~# /tmp/hb backup -c hb foo
HashBackup build #1751 Copyright 2009-2017 HashBackup, LLC
Backup directory: /root/hb
Backup start: 2017-01-09 20:06:09
Copied HB program to /root/hb/hb#1751
This is backup version: 0
Dedup not enabled; use -Dmemsize to enable
/root/foo
/root/foo/1
/root/foo/2
/root/hb/inex.conf

Time: 0.2s
CPU:  0.1s, 58%
Checked: 7 paths, 108 bytes, 108 B
Saved: 7 paths, 108 bytes, 108 B
Excluded: 0
Dupbytes: 0
Space: 144 B, 139 KB total
No errors
root at ubuntu-14-04-b:~# uname -a
Linux ubuntu-14-04-b 4.3.0 BrandZ virtual linux x86_64 x86_64 x86_64 GNU/Linux
root at ubuntu-14-04-b:~# 


Dan



More information about the OmniOS-discuss mailing list