Backup as a service with Clonezilla



Similar documents
Backup as a service with Clonezilla

Backup as a service with Clonezilla

Migrate to a virtual environment with Clonezilla

Massive System Deployment with Open Source Software, Clonezilla

System deployment and bare metal recovery by Clonezilla

Clonezilla: Clone As Free As You Want

Clonezilla: your future imaging, cloning and deployment system

Bare Metal Recover by Open Source Software

DRBL-Winroll: The Free configuration program for Microsoft Windows. Ceasar Sun, Steven Shiau, Thomas Tsai RMLL (LSM) 2015

The Linux System. o Updating without touching the user's files and configurations.

Backup Exec 2014 Software Compatibility List (SCL)

DRBL and Clonezilla The deployment and restoration system

Backup Exec 15 Software Compatibility List (SCL)

Supported File Systems

PARALLELS SERVER 4 BARE METAL README

Build Your Own Private Cloud with Ezilla and Haduzilla

Intel Sideband Fabric Device (Intel MBI) Driver

Barracuda Yosemite Server Backup

Simplifying Server Workload Migrations

USB Bare Metal Restore: Getting Started

PARALLELS SERVER BARE METAL 5.0 README

Backup fast, recover faster

Created on May 20, 2015

VMware vcenter Converter Standalone User's Guide

Installing Ubuntu LTS with full disk encryption

HARD DISK MANAGER 14 / FULL FEATURES LIST. HDM 14 Suite. Features. HDM 14 Pro. Drive Partitioning. Data Backup & Restore

Bare Metal Recovery Quick Start Guide

HP Backup and Recovery Manager

Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 5 Manage Backup and Recovery

Linux Disaster Recovery best practices with rear

VMware vcenter Converter Standalone User's Guide

Backup Exec 15 Software Compatibility List (SCL)

Symantec System Recovery 2013 User's Guide. Linux Edition

Information. Communication for the open minded. Siemens Enterprise Communications

Strategies for Bare Machine Recovery

Cristie Bare Machine Recovery. User Guide. For Linux. April Version Cristie Data Products GmbH Nordring 53-55

Introduction to Gluster. Versions 3.0.x

Parallels Containers for Windows 6.0

Bare Metal Backup And Restore

Parallels Cloud Server 6.0 Readme

VEEAM BACKUP & REPLICATION RELEASE NOTES

Acronis True Image 2015 REVIEWERS GUIDE

Parallels Cloud Server 6.0

Compatibility and Support Information Nasuni Corporation Natick, MA

Restoring a Suse Linux Enterprise Server 9 64 Bit on Dissimilar Hardware with CBMR for Linux 1.02

Relax and Recover (rear) Workshop

Linux Disaster Recovery best practices with rear

Backup Exec 2012 Software Compatibility List (SCL)

Open Network Install Environment

StorageCraft Technology Corporation Leading the Way to Safer Computing 2009 StorageCraft Technology Corporation. All Rights Reserved.

EMC SourceOne. Products Compatibility Guide REV 54

Stan Elesky Western Region Sales Manager. Integrated and Elegant Backup Solutions

IBM Infrastructure Suite for z/vm and Linux

How To Use Netbackup (Vmware) On A Virtual Machine

Acronis True Image 9.1 Pro/Light for Linux

Acronis Disk Director 11 Advanced Server. Quick Start Guide

ReadyNAS Business Product Line Comparison

A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e. Chapter 3 Installing Windows

VMware vcenter Converter Standalone User's Guide

SIRIS. Bare Metal Restore Guide

Symantec Data Loss Prevention System Requirements and Compatibility Guide. Version 12.5.x

Quick Start Guide. Version R91. English

Backup Exec 15. Quick Installation Guide

Acronis Backup & Recovery 11.5 Server for Linux. Update 2. User Guide

On Benchmarking Popular File Systems

Chapter 5: Operating Systems Part 1

Software Requirements Specification. GParted. for. Requirements for Version Prepared by Bill Karatzidis

owncloud Architecture Overview

Cloud Attached Storage 3.1 EA

Linux System Recovery Guide. Version 7.1

NetVault Bare Metal Recovery (VaultDR) Supported Platforms

Data Recovery. Introduction

QuickSpecs. HP Data Protector software for PCs. Overview

Activatiecode voor NovaBACKUP BUSINESS ESSENTIALS voor 1 Windows Server/Exchange/SQL,VMware/Hyper-V

Windows Embedded Standard 7 Technical Overview

Open Cloud Store. End-user manual. For

Red Hat Network Satellite Management and automation of your Red Hat Enterprise Linux environment

How Drive Encryption Works

Acronis Backup & Recovery 10 Workstation. Installation Guide

HP Universal CMDB. Software Version: Support Matrix

BrightStor ARCserve Backup for Linux

Backup & Disaster Recovery Appliance User Guide

Acronis Backup & Recovery 11.5

Building a Private Cloud Cloud Infrastructure Using Opensource

UPSTREAM for Linux on System z

GV-Hot Swap Backup Center System (Rev. B) 3U, 16 / 8-Bay

VEEAM BACKUP & REPLICATION 6.5 RELEASE NOTES

VEEAM BACKUP & REPLICATION 6.1 RELEASE NOTES

This document provides the first-priority information on Parallels Virtuozzo Containers 4.0 for Windows and supplements the included documentation.

VMware vcenter Converter Standalone User's Guide

Parallels Cloud Server 6.0

Table of Contents Introduction and System Requirements 9 Installing VMware Server 35

Acronis True Image Server 8.0 for Linux

Acronis Backup & Recovery 11

Transcription:

Backup as a service with Clonezilla Steven Shiau clonezilla.org Q4, 2015

Outline Introduction to Clonezilla Backup as a service with Clonezilla Features Updates since 2015 Summer Basic ideas How Use cases Q&A 2

Outline Introduction to Clonezilla Backup as a service with Clonezilla Features Updates since 2015 Summer Basic ideas How Use cases Q&A 3

System imaging and cloning backup image source: maggiesfarm.anotherdotcom.com www.compsults.com, and jervisdabreo.com 4

Massive system deployment 5

About us Developers of the free software DRBL, Clonezilla and more... Steven is also the maintainer of GParted live CD From Taiwan, working for the NPO NCHC (National Center for High-Performance Computing) Taiwan image source: wikipedia.org 6

What is Clonezilla? A partition and disk imaging/cloning utility similar to True image or Ghost GPL license A bare metal recovery tool for VMFS VMware ESX/ESXi *1 *2 *3 *4 *5 *6 *Logo source: (1) Larry Ewing, Simon Budig and Anja Gerwinski, (2) Apple,(3) Microsoft, (4) Marshall Kirk McKusick, (5) VMWare (6) Distrowatch.com 7

Clonezilla Feature Free (GPL) Software File systems supported: Ext2/3/4, ReiserFS, Reiser4, XFS, JFS, HFS+, BrtFS, F2fs, UFS, Minix, VMFS, F2FS, FAT and NTFS Supports LVM2 Support some hardware RAID chips (by kernel) Smart copying for supported filesystem. For unsupported file systems sector-to-sector copying is done via dd. Boot loader : syslinux, grub 1/2 ; MBR and hidden data (if exist) Serial console Unattended mode One image restoring to multiple local devices Multicast supported in Clonezilla Server Edition (SE) The image format is transparent, open and flexible 8

DRBL live, i.e. Clonezilla Server Edition 9

Clonezilla Live 10

Developers Steven Shiau K. L. Huang Ceasar Sun Jazz Wang Thomas Tsai Jean-Francois Nifenecker Louie Chen Nagappan Alagappan 11

Language file contributors English (en_us): Dylan Pack. German (de_de): Michael Vinzenz. Hungarian (hu_hu): Greg Marki Spanish (es_es): Juan Ramón Martínez and Alex Ibáñez López. French (fr_fr): Jean-Francois Nifenecker and Jean Francois Martinez. Italian (it_it): Gianfranco Gentili. Japanese (ja_jp): Akira Yoshiyama and Annie Wei. Brazilian Portuguese (pt_br): Marcos Pereira da Silva Cruz. Russian (ru_ru): Anton Pryadko and Igor Melnikov. Slovak (sk_sk): Ondrej Dzivy Balucha Turkish (tr_tr): Ömer YILDIZ Simplified Chinese (zh_cn): Zhiqiang Zhang and Liang Qi. Traditional Chinese (zh_tw): T. C. Lin. 12

Partners The following companies either embed Clonezilla in their products or promote Clonezilla: Linmin eracks Open Source Systems Miracle Linux 13

Changes and features from 2015 Summer Clonezilla live uses overlay file system instead of aufs due to Linux kernel was updated to v4. Supports VMFS partition >= 256 GB. NVME device is supported. Proportional GPT partition layout could be created by the option "-k1". Clonezilla SE supports uefi network booting clients. 14

Clonezilla Users Worldwide >>12,000,000 downloads 12,000,000 downloads 15

Outline Introduction to Clonezilla Backup as a service with Clonezilla Features Updates since 2015 Summer Basic ideas How Use cases Q&A 16

Backup as a service Requirement for system backup: Local and cloud backup Security Flexibility Bare-metal recovery Image-based backup by Clonezilla Image repo: local, NFS, CIFS, SSHFS, WebDAV AES 128 bits (or 256 bits) Images source: wikipedia.org 17

Backup as a service server side BaaS server Server provides one of the following service WebDAV SSHFS CIFS NFS OpenStack Swift Amazon S3 FOSS solutions: OwnCloud FreeNAS GNU/Linux + Apache WebDAV/SSHFS/CIFS/NFS OpenStack Swift... 18

Backup as a service client side: interactive mode Clonezilla live >= 2.4.2-10 Boot Clonezilla live on the machine you want to backup Configure network connection Choose image repository: SSHFS CIFS NFS WebDAV S3 Swift Choose encryption Not ready for S3 & Swift 19

Backup as a service client side: almost unattended Clonezilla live >= 2.4.2-10 Pre-seed configuration in the boot parameters, e.g: locales=en_us.utf-8 keyboard-layouts=none ocs_prerun1= dhclient -v eth0 ocs_prerun2= ocs-tune-conf-for-webdav ocs_prerun3= mount -t davfs -o noexec http://192.168.120.254:8080/share/ /home/partimag ocs_live_run= ocs-sr -q2 -j2 -z1p -enc -p true savedisk myimg sda //NOTE// volume size is based on the free memory due to davfs2 cache mechanism limitation. 20

Boot parameters 21

Booting WebDAV authorization passphrase for encryption 22

Files in the encrypted image dir -rw-r--r-- 1 www-data www-data 12K 10 月 23 23:07 blkdev.list -rw-r--r-- 1 www-data www-data 12K 10 月 23 23:07 blkid.list -rw-r--r-- 1 www-data www-data 16K 10 月 23 23:09 clonezilla-img -rw-r--r-- 1 www-data www-data 12K 10 月 23 23:08 dev-fs.list -rw-r--r-- 1 www-data www-data 12K 10 月 23 23:09 disk -rw-r--r-- 1 www-data www-data 141 10 月 23 23:09 ecryptfs.info -rw-r--r-- 1 www-data www-data 12K 10 月 23 23:08 Info-dmi.txt -rw-r--r-- 1 www-data www-data 20K 10 月 23 23:08 Info-lshw.txt The only plain text file in the image dir, Others are encrypted. saved with This image was # ecryptfs disk_of_img="sda" parts_of_img="sda1 sda5" time_of_img="2015-0220-0650" disks_size_all_of_img="_8590mb" -rw-r--r-- 1 www-data www-data 12K 10 月 23 23:08 Info-lspci.txt -rw-r--r-- 1 www-data www-data 12K 10 月 23 23:08 Info-packages.txt -rw-r--r-- 1 www-data www-data 12K 10 月 23 23:09 Info-saved-by-cmd.txt -rw-r--r-- 1 www-data www-data 12K 10 月 23 23:09 parts -rw-r--r-- 1 www-data www-data 95M 10 月 23 23:08 sda1.ext4-ptcl-img.gz.aaa -rw-r--r-- 1 www-data www-data 95M 10 月 23 23:08 sda1.ext4-ptcl-img.gz.aab -rw-r--r-- 1 www-data www-data 95M 10 月 23 23:08 sda1.ext4-ptcl-img.gz.aac Volume size reset by ocs tune conf for webdav -rw-r--r-- 1 www-data www-data 71M 10 月 23 23:09 sda1.ext4-ptcl-img.gz.aad -rw-r--r-- 1 www-data www-data 724K 10 月 23 23:09 sda5.ext4-ptcl-img.gz.aaa -rw-r--r-- 1 www-data www-data 12K 10 月 23 23:07 sda-chs.sf -rw-r--r-- 1 www-data www-data 1.1M 10 月 23 23:07 sda-hidden-data-after-mbr -rw-r--r-- 1 www-data www-data 12K 10 月 23 23:07 sda-mbr -rw-r--r-- 1 www-data www-data 12K 10 月 23 23:08 sda-pt.parted AES is not currently known to be susceptible to known plaintext attacks. -rw-r--r-- 1 www-data www-data 12K 10 月 23 23:09 sda-pt.parted.compact -rw-r--r-- 1 www-data www-data 12K 10 月 23 23:08 sda-pt.sf -rw-r--r-- 1 www-data www-data 12K 10 月 23 23:08 swappt-sda6.info 23

Demo - Save an image to WebDAV Server side: WebDAV, provided by the running Ubuntu 14.04 system with enabled Apahce2 WebDAV URL: http://192.168.56.1/share/ Client side: Use Clonezilla live to 2.4.2-61 with preseeded boot parameters to save a local disk as an image locales=en_us.utf-8 keyboard-layouts=none ocs_prerun1= dhclient -v eth0 ocs_prerun2= ocs-tune-conf-for-webdav ocs_prerun3= mount -t davfs -o noexec http://192.168.56.1/share/ /home/partimag ocs_live_run= ocs-sr -q2 -j2 -z1p -enc -p true savedisk myimg sda 24

Conclusion With image encryption, you can provide BaaS for system imaging to multiple users in the same image repository. Due to the file system support issue, the ecryptfs has a compatible issue with s3fs (for S3) and cloudfuse file (for Swift) systems. We will keep improving it. WebDAV service is more flexible. However, there might be some limits. E.g. single file size limit on the server side. Therefore you have to make sure it's compatible with Clonezilla. 25

Reference Clonezilla: http://clonezilla.org DRBL: http://drbl.org 26

Questions? Great!????? 27