Computer Hope

Compile Partclone

  • sudo eopkg it -c system.devel
  • sudo eopkg it e2fsprogs-devel ntfs-3g ntfs-3g-devel btrfs-progs btrfs-progs-devel ncurses-devel
  • mkdir build && cd build
  • wget https://github.com/Thomas-Tsai/partclone/archive/0.2.89.zip
  • unzip 0.2.89.zip && cd partclone*
  • ./configure --enable-ncursesw --enable-btrfs --enable-exfat --enable-fat --enable-ntfs --enable-extfs --enable-hfsp --enable-minix --prefix=/usr/
  • make -j4
  • sudo make install

using Partclone.dd (Full Backup & Restore using dd mode )

  • lsblk
  • sudo partclone.dd -s /dev/device -o /home/backups/device.img (Backup drive to file)
  • sudo partclone.dd -s /home/backups/device.img -o /dev/device (Restore file to drive)

explain Partclone

  • show ncurses progress = -N
  • source file or device = -s
  • output file or device = -o
  • set buffer size = -z 4096 (useful for raspberry pi)

using Partclone (Partition Backup & Restore)

todo

encoding sintel source images is not that hard, you have to find how many digits they have 00000001.png becomes 000%05d.png

here is an example that should work, it outputs a file with realy high quality
ffmpeg -f image2 -i "000%05d.png" -r 23.976 -vcodec libx264 -preset slow -crf 22 out.mkv

downloading the sintel source files are as easy as
apt-get install aria2c aria2c -Z -P http://media.xiph.org/sintel/sintel-4k-png16/[00000001-00021312].png

Easily deploy an SSD cloud server on @DigitalOcean in 55 seconds. Sign up using my link and receive $10 in credit
Proudly published with Ghost | Theme based on Draugur | Header Image by GUWEIZ@DeviantArt
Creative Commons Licence