Giter Club home page Giter Club logo

zfs-snapshot-rotation-and-backup's People

Contributors

corny avatar mmehnert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zfs-snapshot-rotation-and-backup's Issues

AttributeError: 'module' object has no attribute 'check_output'

Hello,

I get the following error:

[root@backup-1 examples]# ./snapshot.py -r -k 6 tank/ivans_test testiram --verbose
Namespace(dry_run=False, fs='tank/ivans_test', k=6, prefix='testiram', r=True, remote='', verbose=True)
Traceback (most recent call last):
File "./snapshot.py", line 26, in
pool=ZFS_pool(pool=args.fs.split("/")[0],remote_cmd=args.remote)
File "/usr/lib/python2.6/zfs_functions.py", line 22, in init
self.update_zfs_filesystems()
File "/usr/lib/python2.6/zfs_functions.py", line 28, in update_zfs_filesystems
self.zfs_filesystems=get_zfs_filesystems(remote=self.remote_cmd,fs=self.pool)
File "/usr/lib/python2.6/zfs_functions.py", line 71, in get_zfs_filesystems
fs=subprocess.check_output(remote+' zfs list -o name -H -r '+fs,shell=True).split("\n")
AttributeError: 'module' object has no attribute 'check_output'

Some information about this OpenIndiana system:

[root@backup-1 examples]# uname -a
SunOS backup-1 5.11 oi_151a5 i86pc i386 i86pc Solaris

[root@backup-1 examples]# python -V
Python 2.6.4

Any ideas?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.