Giter Club home page Giter Club logo

zfs-backup's People

Contributors

adaugherity avatar dnozay avatar pvalkone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zfs-backup's Issues

Feature Request replicate not recursive

Hi,

is there a way not to replicate houry and frequent snapshots between dailys?
I removed the -R at zfs send, but it seems it still does ist!

Cheers
Chriz

Feature Request Replicate with Compression

Hi Guys,

perhaps you are able to add a kind of compression to the Replication, similar FreeNAS does it.

Perhaps you can Pipe the zfs send and recive via a gzip or lz4?

We do not use compression on Datasets and ZVOLs because of using VMs and latency!

This would multiply the load of Data, especially on WAN Connections.

For local Speedup perhaps you can add mbuffer?
http://everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/

I really appreciate your great work!
If there is a way to donate, let me know!

chriz

http://serverfault.com/questions/74411/best-compression-for-zfs-send-recv

Handle special case root of the pool.

Having the following pool layout:

tank
tank/a
tank/a/b
tank/c
...

all of the filesystems are handled well, due to -e/-d FS=${DATASET#/} and FS_BASE=${DATASET##/}
However, this doesn't work for the very pool root (not sure what the official name for it is).

"tank" doesn't match neither FS nor FS_BASE and will result in the following remote layout:
remote/tank
remote/a
remote/a/b
remote/c
...

the goal is to make sure local "tank" (pool root) can sync into "remote" (remote pool root).

I used the following code to provide special case handling for pool root, right after -e/-d case handling (

) :

# Special case for pool root
if [[ "$DATASET" != */* ]]
then
  TARGET="$REMPOOL"
fi

please add this special case into your repo.

Keep Snapshots

Hi, please provide a function to keep snapshots longer on destination!

zfs set $PROP={ fullpath | basename | rootfs } pool/fs

hi,
please explain (step by step) how to set the $PROP value in script for files-1tb/jails because I'm misunderstand something:

Filesystem 1K-blocks Used Avail Capacity Mounted on

files-1tb/jails 823983904 128 823983776 0% /files-1tb/jails

Thank you.

Error no dataset configure for backup !!!

hi .. im try a script for backup snapshot to another server using zfs. but i have error like this

No datasets configured for backup! Please set the 'com.edu:backuptarget' property
appropriately on the datasets you wish to back up.

what the meaning "com.edu:backuptarget" ?

if i see a command "zfs get datapool/fs1"
im not see property "com.edu:backuptarget"

and if im add manual will be error no value property.

anyone can help ? or give me any reference ?

thanks :)

[: argument expected with -v Option

When I run the script without the -v-Option, there's no output -- when I use -v I get this:
`./zfs-backup.sh -v

rpool/vm-199-disk-0:
./zfs-backup.sh[195]: [: argument expected
./zfs-backup.sh[213]: [: argument expected
Remote snapshot is the same as local; not running.
`
What's wrong?

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.