Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

backup

rsync all files of remote machine over SSH without root user?

August 11, 2022 by Magenaut

I have this command to backup a remote machine. The problem is that I need root rights to read and copy all files. I have no root user enabled for security reasons and use sudo the Ubuntu way. Would I need some cool piping or something to do this?

Categories Q&A, Unix & Linux Tags backup, rsync, ssh, ubuntu Leave a comment

How to keep track of changes in /etc/

August 10, 2022 by Magenaut

I would like to keep track of changes in /etc/

Categories Q&A, Unix & Linux Tags backup, btrfs, etc, git Leave a comment

Backup whole hard disk Linux

August 10, 2022 by Magenaut

I am looking for a method to backup a whole disk in case something is screwed up…

Categories Q&A, Unix & Linux Tags backup, hard-disk, raid1 Leave a comment

What directories do I need to back up?

August 10, 2022 by Magenaut

What are the directories one should back up, in order to have a backup of all user-generated files?

Categories Q&A, Unix & Linux Tags backup, debian, filesystems Leave a comment

how to tell rsync to preserve time stamp on files when source tree has a mounted point

August 10, 2022 by Magenaut

Related to this question

Categories Q&A, Unix & Linux Tags backup, rsync Leave a comment

Is NTFS under linux able to save a linux file, with its chown and chmod settings?

August 10, 2022 by Magenaut

I’m having some doubts about how to install and allow Linux to correctly read/write to a NTFS formatted harddrive used as backup of various machines (windows included, that’s how I need NTFS).

Categories Q&A, Unix & Linux Tags backup, chmod, linux, ntfs-3g, permissions Leave a comment

Is using rsync while source is being updated safe?

August 10, 2022 by Magenaut

Is it safe to use rsync when the source filesystem is mounted and writeable, assuming that it may very well be modified while rsync is running? I presume that under race conditions I may not get the latest modifications, but is there any risk of corruption?

Categories Q&A, Unix & Linux Tags backup, concurrency, rsync Leave a comment

Copying or restoring crtime for files/directories on ext4fs filesystem

August 9, 2022 by Magenaut

I wonder if there are ways to copy or restore crtime (creation time) for inodes/files/directories in Linux in 2020. I’ve accidentally deleted a folder while I still have a full disk backup, but neither cp -a, nor rsync can restore/copy files/directories crtimes.

Categories Q&A, Unix & Linux Tags backup, debugfs, ext4, restore Leave a comment

Back up and restore file permissions

August 9, 2022 by Magenaut

Is there a way to back up and restore file ownership and permissions (the things that can be changed with chown and chmod)?

Categories Q&A, Unix & Linux Tags acl, backup, files, permissions Leave a comment

Compress a folder with tar?

August 7, 2022 by Magenaut

I’m trying to compress a folder (/var/www/) to ~/www_backups/$time.tar where $time is the current date.

Categories Q&A, Unix & Linux Tags backup, linux, tar Leave a comment
Older posts
Page1 Page2 Page3 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress